|
@@ -9,16 +9,22 @@ ROMS :=
|
9
|
9
|
MEDIA :=
|
10
|
10
|
NON_AUTO_MEDIA :=
|
11
|
11
|
|
12
|
|
-# Find a usable "echo -e".
|
|
12
|
+# Find a usable "echo -e" substitute.
|
13
|
13
|
#
|
14
|
|
-ifeq ($(shell echo '\0101'),A)
|
|
14
|
+ifeq ($(shell echo '\101'),A)
|
|
15
|
+ECHO ?= echo
|
|
16
|
+endif
|
|
17
|
+ifeq ($(shell echo -e '\101'),A)
|
|
18
|
+ECHO ?= echo -e
|
|
19
|
+endif
|
|
20
|
+ifeq ($(shell /bin/echo '\101'),A)
|
|
21
|
+ECHO ?= /bin/echo
|
|
22
|
+endif
|
|
23
|
+ifeq ($(shell /bin/echo -e '\101'),A)
|
|
24
|
+ECHO ?= /bin/echo -e
|
|
25
|
+endif
|
|
26
|
+ifndef ECHO
|
15
|
27
|
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
|
28
|
endif
|
23
|
29
|
|
24
|
30
|
# Grab the central Config file.
|