summaryrefslogtreecommitdiff
path: root/util/intelmetool
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2017-05-07 17:51:25 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-05-11 09:44:44 +0200
commit0d2ff132e6140c67e6f83183487ec8c6aa4d626e (patch)
tree9d7f121b94d4b13af0df3f0ef951e5bce9a94096 /util/intelmetool
parent4125dde2bebff0c5aaa9088a90bfdf0359fa2d4b (diff)
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>
Diffstat (limited to 'util/intelmetool')
-rw-r--r--util/intelmetool/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/intelmetool/Makefile b/util/intelmetool/Makefile
index 4461f8615b..affcf30d90 100644
--- a/util/intelmetool/Makefile
+++ b/util/intelmetool/Makefile
@@ -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