From 96404c63d3e2bd199c5faef8965f0e2886f0bb90 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Mon, 22 Jun 2009 22:13:44 +0200
Subject: make lemote boot with uClibc

- patches for uClibc to work with pagesize != 4k
- use gcc extension to avoid -O2 compile
- use ld.so for 64 bit archs

big thanks to thorsten glaser helping out here.
---
 package/uclibc/Makefile | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'package/uclibc')

diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 5fc4bab62..fc02f72f5 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -18,9 +18,7 @@ do-install:
 	${INSTALL_DIR} $(IDIR_UCLIBC)/lib $(IDIR_UCLIBC)/etc
 	# create timezone file
 	echo 'CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00' > $(IDIR_UCLIBC)/etc/TZ
-ifneq (${CPU_ARCH},x86_64)
 	$(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(IDIR_UCLIBC)/lib/
-endif
 	$(CP) $(STAGING_DIR)/lib/libc.so.* $(IDIR_UCLIBC)/lib/
 	$(CP) $(STAGING_DIR)/lib/libuClibc-$(PKG_VERSION).so $(IDIR_UCLIBC)/lib/
 	$(CP) $(STAGING_DIR)/lib/ld*-uClibc-$(PKG_VERSION).so $(IDIR_UCLIBC)/lib/
@@ -30,11 +28,7 @@ endif
 		$(CP) $(STAGING_DIR)/lib/$$file-$(PKG_VERSION).so $(IDIR_UCLIBC)/lib/; \
 	done
 	# create links for ldd / gcc
-ifneq (${CPU_ARCH},x86_64)
 	cd $(IDIR_UCLIBC)/lib && ln -sf ld-uClibc.so.0 ld.so
-else
-	cd $(IDIR_UCLIBC)/lib && ln -sf ld64-uClibc.so.0 ld.so
-endif
 	cd $(IDIR_UCLIBC)/lib && ln -sf libc.so.0 libc.so
 	cd $(IDIR_UCLIBC)/lib && ln -sf libgcc_s.so.1 libgcc_s.so
 
-- 
cgit v1.2.3