From 0d2ff132e6140c67e6f83183487ec8c6aa4d626e Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sun, 7 May 2017 17:51:25 +0200 Subject: intelmetool: Enhance missing packages help On Ubuntu 16.04 the libpci-dev package is required. Change-Id: I942b3e96f5b8112166a105eb5a61f8f3cf16cb7c Signed-off-by: Vincent Legoll Reviewed-on: https://review.coreboot.org/19617 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- util/intelmetool/Makefile | 5 +++-- 1 file 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 -- cgit v1.2.3