diff options
author | Ed Swierk <eswierk@arastra.com> | 2007-02-16 14:36:12 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-02-16 14:36:12 +0000 |
commit | 3ecf5002b38525f1b991a21602dde39f1a859f75 (patch) | |
tree | a84ddfa43d8c109374fbd1a61befe8ea176e0dae /util/flashrom/Makefile | |
parent | fb1fddbab87b5ad5acc57415e25613655722b51b (diff) |
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@arastra.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/Makefile')
-rw-r--r-- | util/flashrom/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/Makefile b/util/flashrom/Makefile index 681dddd886..a6b389f27d 100644 --- a/util/flashrom/Makefile +++ b/util/flashrom/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 |