From 6f799db5bd64ad408d7903679ac4d40ef9f48958 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 8 Sep 2007 23:38:17 +0100 Subject: Use "/bin/echo -e" instead of shell builtin echo; some shells don't implement the -e option. (Thanks to Jim McQuillan for this suggestion.) --- src/Makefile | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 0f8ddca2f..0682dc5a4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -42,30 +42,31 @@ include arch/$(ARCH)/Config # message. # noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk $(BIN)/gpxe.iso $(BIN)/gpxe.usb - @echo '===========================================================' - @echo - @echo 'To create a bootable floppy, type' - @echo ' cat $(BIN)/gpxe.dsk > /dev/fd0' - @echo 'where /dev/fd0 is your floppy drive. This will erase any' - @echo 'data already on the disk.' - @echo - @echo 'To create a bootable USB key, type' - @echo ' cat $(BIN)/gpxe.usb > /dev/sdX' - @echo 'where /dev/sdX is your USB key, and is *not* a real hard' - @echo 'disk on your system. This will erase any data already on' - @echo 'the USB key.' - @echo - @echo 'To create a bootable CD-ROM, burn the ISO image ' - @echo '$(BIN)/gpxe.iso to a blank CD-ROM.' - @echo - @echo 'These images contain drivers for all supported cards. You' - @echo 'can build more customised images, and ROM images, using' - @echo ' make bin/.' - @echo - @echo '===========================================================' + @$(ECHO) '===========================================================' + @$(ECHO) + @$(ECHO) 'To create a bootable floppy, type' + @$(ECHO) ' cat $(BIN)/gpxe.dsk > /dev/fd0' + @$(ECHO) 'where /dev/fd0 is your floppy drive. This will erase any' + @$(ECHO) 'data already on the disk.' + @$(ECHO) + @$(ECHO) 'To create a bootable USB key, type' + @$(ECHO) ' cat $(BIN)/gpxe.usb > /dev/sdX' + @$(ECHO) 'where /dev/sdX is your USB key, and is *not* a real hard' + @$(ECHO) 'disk on your system. This will erase any data already on' + @$(ECHO) 'the USB key.' + @$(ECHO) + @$(ECHO) 'To create a bootable CD-ROM, burn the ISO image ' + @$(ECHO) '$(BIN)/gpxe.iso to a blank CD-ROM.' + @$(ECHO) + @$(ECHO) 'These images contain drivers for all supported cards. You' + @$(ECHO) 'can build more customised images, and ROM images, using' + @$(ECHO) ' make bin/.' + @$(ECHO) + @$(ECHO) '===========================================================' # Locations of utilities # +ECHO ?= /bin/echo -e HOST_CC ?= gcc CPP ?= gcc -E -Wp,-Wall RM ?= rm -f @@ -120,7 +121,7 @@ OBJECT = $(firstword $(subst ., ,$(@F))) # OBJ_CFLAGS = $(CFLAGS_$(OBJECT)) -DOBJECT=$(subst -,_,$(OBJECT)) $(BIN)/%.flags : - @echo $(OBJ_CFLAGS) + @$(ECHO) $(OBJ_CFLAGS) # Rules for specific object types. # -- cgit