|
@@ -9,6 +9,18 @@ ROMS :=
|
9
|
9
|
MEDIA :=
|
10
|
10
|
NON_AUTO_MEDIA :=
|
11
|
11
|
|
|
12
|
+# Find a usable "echo -e".
|
|
13
|
+#
|
|
14
|
+ifeq ($(shell echo '\0101'),A)
|
|
15
|
+ECHO := echo
|
|
16
|
+else ifeq ($(shell echo -e '\0101'),A)
|
|
17
|
+ECHO := echo -e
|
|
18
|
+else ifeq ($(shell /bin/echo '\0101'),A)
|
|
19
|
+ECHO := /bin/echo
|
|
20
|
+else ifeq ($(shell /bin/echo -e '\0101'),A)
|
|
21
|
+ECHO := /bin/echo -e
|
|
22
|
+endif
|
|
23
|
+
|
12
|
24
|
# Grab the central Config file.
|
13
|
25
|
#
|
14
|
26
|
MAKEDEPS += Config
|
|
@@ -66,7 +78,6 @@ noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk $(BIN)/gpxe.iso $(BIN)/gpxe.usb
|
66
|
78
|
|
67
|
79
|
# Locations of utilities
|
68
|
80
|
#
|
69
|
|
-ECHO ?= /bin/echo -e
|
70
|
81
|
HOST_CC ?= gcc
|
71
|
82
|
CPP ?= gcc -E -Wp,-Wall
|
72
|
83
|
RM ?= rm -f
|