intelmetool: Enhance missing packages help

On Ubuntu 16.04 the libpci-dev package is required.

Change-Id: I942b3e96f5b8112166a105eb5a61f8f3cf16cb7c
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Reviewed-on: https://review.coreboot.org/19617
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
Vincent Legoll 2017-05-07 17:51:25 +02:00 committed by Patrick Georgi
parent 4125dde2be
commit 0d2ff132e6
1 changed files with 3 additions and 2 deletions

View File

@ -70,11 +70,12 @@ endef
export LIBPCI_TEST
pciutils:
@printf "\nChecking for pciutils and zlib... "
@printf "\nChecking for development libraries: pci and zlib... "
@echo "$$LIBPCI_TEST" > .test.c
@$(CC) $(CFLAGS) .test.c -o .test $(LDFLAGS) >/dev/null 2>&1 && \
printf "found.\n" || ( printf "not found.\n\n"; \
printf "Please install pciutils-devel and zlib-devel.\n"; \
printf "For RPM based distributions like Fedora, please install pciutils-devel and zlib-devel.\n"; \
printf "For DEB based distributions, please install libpci-dev and zlib1g-dev.\n"; \
rm -f .test.c .test; exit 1)
@rm -rf .test.c .test .test.dSYM