aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-09-11 15:42:17 +0100
committerMichael Brown <mcb30@etherboot.org>2007-09-11 15:42:17 +0100
commit5f6439c828c1de42ba83593040842b30e86d6b29 (patch)
tree112970ab2eede1a23f57742a3c60f25fe8371688 /src/Makefile
parent74a49af4abf826004c0172abe46d17e7f43d5ccc (diff)
parent98de16befd50b2922a8c26ba2a0f447a738adac2 (diff)
downloadipxe-5f6439c828c1de42ba83593040842b30e86d6b29.tar.gz
Merge branch 'master' into 3leaf-rewrite
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile45
1 files changed, 23 insertions, 22 deletions
diff --git a/src/Makefile b/src/Makefile
index f4a0796bb..f0e85e1e9 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/<rom-name>.<output-format>'
- @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/<rom-name>.<output-format>'
+ @$(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.
#