[LinuxBIOS] r2553 - trunk/LinuxBIOSv2/util/flashrom
svn at openbios.org
svn at openbios.org
Fri Feb 16 15:36:12 CET 2007
Author: uwe
Date: 2007-02-16 15:36:12 +0100 (Fri, 16 Feb 2007)
New Revision: 2553
Modified:
trunk/LinuxBIOSv2/util/flashrom/Makefile
Log:
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.
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified: trunk/LinuxBIOSv2/util/flashrom/Makefile
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/Makefile 2007-02-09 00:26:10 UTC (rev 2552)
+++ trunk/LinuxBIOSv2/util/flashrom/Makefile 2007-02-16 14:36:12 UTC (rev 2553)
@@ -41,14 +41,14 @@
@$(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
More information about the coreboot
mailing list