]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Make "tr" command use POSIX compliant; export HOSTOS make variable
authorWolfgang Denk <wd@pollux.denx.de>
Fri, 12 Aug 2005 21:23:46 +0000 (23:23 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Fri, 12 Aug 2005 21:23:46 +0000 (23:23 +0200)
Patch by Murray Jensen, 30 Jun 2005

CHANGELOG
Makefile

index 658ab0e3fece22fa2a74512ee7f4fca06668d3b4..5860117f2582b0e21617136ad67d15ed850ba71c 100644 (file)
--- 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
 
index 7731f0b03e49a3d74025f4b5510afdb1d0fd77cb..c88b9e1a1d3b257f007a20e7015fbffafc3ad412 100644 (file)
--- 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=