summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEd Swierk <eswierk@arastra.com>2007-02-16 14:36:12 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-02-16 14:36:12 +0000
commite871d1ffac1081880639d0f401282e87b1938c28 (patch)
tree29fb9b81d07a3f88e2017ad0c69a001df33c3e60 /Makefile
parentce1041c15ab507616e6795c3a664f1c20d2c17dd (diff)
downloadast2050-flashrom-e871d1ffac1081880639d0f401282e87b1938c28.zip
ast2050-flashrom-e871d1ffac1081880639d0f401282e87b1938c28.tar.gz
Note in makefile messages that zlib may be needed for libpci
Currently the flashrom Makefile tries to detect whether pciutils-devel is installed, but the test also fails if zlib-devel is missing. This patch changes the error message accordingly. Corresponding to flashrom svn r90 and coreboot v2 svn r2553. Signed-off-by: Ed Swierk <eswierk@arastra.com> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 681dddd..a6b389f 100644
--- a/Makefile
+++ b/Makefile
@@ -41,14 +41,14 @@ dep:
@$(CC) -MM *.c > .dependencies
pciutils:
- @echo; echo -n "Checking for pciutils... "
+ @echo; echo -n "Checking for pciutils and zlib... "
@$(shell ( echo "#include <pci/pci.h>"; \
echo "struct pci_access *pacc;"; \
echo "int main(int argc, char **argv)"; \
echo "{ pacc = pci_alloc(); return 0; }"; ) > .test.c )
@$(CC) $(CFLAGS) .test.c -o .test $(LDFLAGS) &>/dev/null && \
echo "found." || ( echo "not found."; echo; \
- echo "Please install pciutils and pciutils-devel."; \
+ echo "Please install pciutils-devel and zlib-devel."; \
echo "See README for more information."; echo; \
rm -f .test.c .test; exit 1)
@rm -f .test.c .test
OpenPOWER on IntegriCloud