summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-13 15:09:18 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-13 15:09:18 +0000
commit35dc4cd62852f5123799cbfe4dfa05989f24e444 (patch)
treeb163dadd7364946c8d300d5babe6a65a2d747506
parent8e583fd0f7b9fcc2f7d3890c835d55876272f85b (diff)
downloadbuildroot-novena-35dc4cd62852f5123799cbfe4dfa05989f24e444.tar.gz
buildroot-novena-35dc4cd62852f5123799cbfe4dfa05989f24e444.zip
toolchain: sh64 fixes
- arch/sh and arch/sh64 got merged in 2.6.25, so use arch/sh for sh64 as well - use little endian for sh64, like for 32bit sh sh64 still doesn't build, but gets further along now.
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk3
-rw-r--r--toolchain/uClibc/uclibc.mk4
2 files changed, 3 insertions, 4 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 6aedc323c..50326c6cd 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -20,8 +20,7 @@ KERNEL_ARCH:=$(shell $(SHELL) -c "echo \"$(ARCH)\" | sed -e \"s/-.*//\" \
-e s/parisc64/parisc/ \
-e s/powerpc64/powerpc/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
- -e s/sh2.*/sh/ -e s/sh3.*/sh/ -e s/sh4.*/sh/ \
- -e s/nios2.*/nios2nommu/")
+ -e s/sh.*/sh/ -e s/nios2.*/nios2nommu/")
# assume old manually sanitized kernel-headers
LINUX_HEADERS_IS_KERNEL=n
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index edcd32b86..af35e33d2 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -72,8 +72,8 @@ UCLIBC_TARGET_ENDIAN:=$(shell $(SHELL) -c "echo $(ARCH) | sed \
-e 's/arm/LITTLE/' \
-e 's/mipsel/LITTLE/' \
-e 's/mips/BIG/' \
- -e 's/sh[234].*eb/BIG/' \
- -e 's/sh[234]/LITTLE/' \
+ -e 's/sh.*eb/BIG/' \
+ -e 's/sh.*/LITTLE/' \
-e 's/sparc.*/BIG/' \
")