From a8bddfe1537a0a69b7fde557e11ccba625b7bd7d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 8 Dec 2007 00:50:57 +0000 Subject: Another (hopefully more robust) attempt to find a usable substitute for "echo -e" on the host system. --- src/Makefile | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index add47abe1..a65ce2bc1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ # Initialise variables that get added to throughout the various Makefiles # -MAKEDEPS := Makefile .toolcheck +MAKEDEPS := Makefile .toolcheck .echocheck SRCDIRS := SRCS := NON_AUTO_SRCS := @@ -9,24 +9,6 @@ ROMS := MEDIA := NON_AUTO_MEDIA := -# Find a usable "echo -e" substitute. -# -ifeq ($(shell echo '\101'),A) -ECHO ?= echo -endif -ifeq ($(shell echo -e '\101'),A) -ECHO ?= echo -e -endif -ifeq ($(shell /bin/echo '\101'),A) -ECHO ?= /bin/echo -endif -ifeq ($(shell /bin/echo -e '\101'),A) -ECHO ?= /bin/echo -e -endif -ifndef ECHO -ECHO := echo -endif - # Grab the central Config file. # MAKEDEPS += Config @@ -90,6 +72,7 @@ RM ?= rm -f TOUCH ?= touch MKDIR ?= mkdir CP ?= cp +ECHO ?= echo PERL ?= /usr/bin/perl CC ?= $(CROSS_COMPILE)gcc AS ?= $(CROSS_COMPILE)as -- cgit v1.2.3-55-g7522