aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-05-31 07:27:58 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-05-31 07:27:58 +0000
commitf469324898db283ee61d2720087b650d7d56caab (patch)
tree114eab65c02b044d1429d984a9e4b5f427ae22e3 /toolchain
parentff1b7e871f8510d5b27b88678e601f8f351f5200 (diff)
downloadbuildroot-f469324898db283ee61d2720087b650d7d56caab.tar.gz
buildroot-f469324898db283ee61d2720087b650d7d56caab.tar.bz2
uclibc-0.9.29: handle powerpc subarch selection
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/uclibc.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 0a25315a09..07810d8574 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -257,6 +257,15 @@ ifeq ($(UCLIBC_TARGET_ARCH),sparc)
>> $(UCLIBC_DIR)/.oldconfig
$(SED) 's/^.*$(UCLIBC_SPARC_TYPE).*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
endif
+ifeq ($(UCLIBC_TARGET_ARCH),powerpc)
+ifeq ($(BR2_powerpc_8540),y)
+ /bin/echo "# CONFIG_CLASSIC is not set" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "CONFIG_E500=y" >> $(UCLIBC_DIR)/.oldconfig
+else
+ /bin/echo "CONFIG_CLASSIC=y" >> $(UCLIBC_DIR)/.oldconfig
+ /bin/echo "# CONFIG_E500 is not set" >> $(UCLIBC_DIR)/.oldconfig
+endif
+endif
ifneq ($(UCLIBC_TARGET_ENDIAN),)
# The above doesn't work for me, so redo
$(SED) 's/.*\(ARCH_$(UCLIBC_NOT_TARGET_ENDIAN)_ENDIAN\).*/# \1 is not set/g' \