1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-28 07:23:43 +02:00

Make Makefile a bit more portable

Shell echo doesn't always know -n.

Corresponding to flashrom svn r392 and coreboot v2 svn r3897.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Peter Stuge 2009-01-25 23:59:30 +00:00
parent 8440cc0ee5
commit cedb09de9d

View File

@ -55,7 +55,7 @@ dep:
@$(CC) -MM *.c > .dependencies @$(CC) -MM *.c > .dependencies
pciutils: pciutils:
@echo; echo -n "Checking for pciutils and zlib... " @echo; printf "Checking for pciutils and zlib... "
@$(shell ( echo "#include <pci/pci.h>"; \ @$(shell ( echo "#include <pci/pci.h>"; \
echo "struct pci_access *pacc;"; \ echo "struct pci_access *pacc;"; \
echo "int main(int argc, char **argv)"; \ echo "int main(int argc, char **argv)"; \