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:
parent
4125dde2be
commit
0d2ff132e6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue