From: Wolfgang Denk Date: Fri, 12 Aug 2005 21:23:46 +0000 (+0200) Subject: Make "tr" command use POSIX compliant; export HOSTOS make variable X-Git-Tag: v2008.10-rc1~1483^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9d77ed38031fa29d1495bf3cfee385450463f5b;p=platform%2Fkernel%2Fu-boot.git Make "tr" command use POSIX compliant; export HOSTOS make variable Patch by Murray Jensen, 30 Jun 2005 --- diff --git a/CHANGELOG b/CHANGELOG index 658ab0e..5860117 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.3: ====================================================================== +* Make "tr" command use POSIX compliant; export HOSTOS make variable + Patch by Murray Jensen, 30 Jun 2005 + * Fix Murray Jensen's mail address. Patch by Murray Jensen, 30 Jun 2005 diff --git a/Makefile b/Makefile index 7731f0b..c88b9e1 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,10 @@ HOSTARCH := $(shell uname -m | \ -e s/powerpc/ppc/ \ -e s/macppc/ppc/) -HOSTOS := $(shell uname -s | tr A-Z a-z | \ +HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ sed -e 's/\(cygwin\).*/cygwin/') -export HOSTARCH +export HOSTARCH HOSTOS # Deal with colliding definitions from tcsh etc. VENDOR=