[Buildroot] [git commit master 1/1] uClibc: fix ppc e500 handling

Peter Korsgaard jacmet at sunsite.dk
Sat Aug 28 22:14:40 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=e8fdc08dc39ea28e5e098f696477e4a13f4ebd94
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Closes #2449

Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav at gmail.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 CHANGES                    |    1 +
 toolchain/uClibc/uclibc.mk |    8 +-------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/CHANGES b/CHANGES
index 86a2cc2..c18edab 100644
--- a/CHANGES
+++ b/CHANGES
@@ -24,6 +24,7 @@
 
 	#635:  util-linux fails to build in 2009.08
 	#2239: netcat package installs its binary to target as avr32-linux...
+	#2449: Minor fixes for squashfs makefile and correct PowerPC e500 ...
 
 2010.08-rc1, Released July 30th, 2010:
 
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index b9ef551..4fb9393 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -217,13 +217,7 @@ ifeq ($(UCLIBC_TARGET_ARCH),sparc)
 	$(SED) 's/^.*$(UCLIBC_SPARC_TYPE)[^B].*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
 endif
 ifeq ($(UCLIBC_TARGET_ARCH),powerpc)
-ifeq ($(BR2_powerpc_8540),y)
-	TARGET_POWERPC_CORE_E500:=y
-endif
-ifeq ($(BR2_powerpc_e500mc),y)
-	TARGET_POWERPC_CORE_E500:=y
-endif
-ifeq ($(TARGET_POWERPC_CORE_E500),y)
+ifeq ($(BR2_powerpc_8540)$(BR2_powerpc_e500mc),y)
 	/bin/echo "# CONFIG_CLASSIC is not set" >> $(UCLIBC_DIR)/.oldconfig
 	/bin/echo "CONFIG_E500=y" >> $(UCLIBC_DIR)/.oldconfig
 else
-- 
1.7.1




More information about the buildroot mailing list