SOURCES: uClibc-targetcpu.patch, uClibc-toolchain-wrapper.patch - ...

qboosh qboosh at pld-linux.org
Sat May 12 13:28:01 CEST 2007


Author: qboosh                       Date: Sat May 12 11:28:01 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merged from DEVEL

---- Files affected:
SOURCES:
   uClibc-targetcpu.patch (1.5 -> 1.6) , uClibc-toolchain-wrapper.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/uClibc-targetcpu.patch
diff -u SOURCES/uClibc-targetcpu.patch:1.5 SOURCES/uClibc-targetcpu.patch:1.6
--- SOURCES/uClibc-targetcpu.patch:1.5	Sun Aug 28 10:31:14 2005
+++ SOURCES/uClibc-targetcpu.patch	Sat May 12 13:27:56 2007
@@ -33,10 +33,9 @@
 -	@echo "# This file was autogenerated by make" >> $(TARGET_ARCH)-uclibc-ld
 +	@echo "#!/bin/sh" > $(TARGET_CPU)-uclibc-ld
 +	@echo "# This file was autogenerated by make" >> $(TARGET_CPU)-uclibc-ld
- 	@echo "$(LD_BIN) \$$@ -L$(DEVEL_PREFIX)/usr/lib -L$(DEVEL_PREFIX)/lib "\
--		"-L$(UCLIBC_DIR)" >> $(TARGET_ARCH)-uclibc-ld
+-	@echo "exec $(LD_BIN) \$$@ -L$(DEVEL_PREFIX)/lib" >> $(TARGET_ARCH)-uclibc-ld
++	@echo "exec $(LD_BIN) \$$@ -L$(DEVEL_PREFIX)/lib" >> $(TARGET_CPU)-uclibc-ld
 -	chmod a+x $(TARGET_ARCH)-uclibc-ld
-+		"-L$(UCLIBC_DIR)" >> $(TARGET_CPU)-uclibc-ld
 +	chmod a+x $(TARGET_CPU)-uclibc-ld
  	touch ld-uClibc
  

================================================================
Index: SOURCES/uClibc-toolchain-wrapper.patch
diff -u SOURCES/uClibc-toolchain-wrapper.patch:1.5 SOURCES/uClibc-toolchain-wrapper.patch:1.6
--- SOURCES/uClibc-toolchain-wrapper.patch:1.5	Sat Dec  9 23:12:18 2006
+++ SOURCES/uClibc-toolchain-wrapper.patch	Sat May 12 13:27:56 2007
@@ -681,6 +681,7 @@
 +
 +TOPDIR = ../../
 +include $(TOPDIR)Rules.mak
++include $(TOPDIR)/.config
 +
 +UCLIBC_DIR = $(shell (cd ../.. ; /bin/pwd))
 +GCC_BIN = $(shell which $(CC))
@@ -698,7 +699,7 @@
 +	@echo "#define GCC_BIN " \"$(GCC_BIN)\" >> gcc-uClibc.h
 +	@echo "#define LIBGCC_DIR " \"$(LIBGCC_DIR)\" >> gcc-uClibc.h
 +	@echo "#define TARGET_ARCH " \"$(TARGET_ARCH)\" >> gcc-uClibc.h
-+	@echo "#define DYNAMIC_LINKER " \"$(RUNTIME_PREFIX)lib/$(UCLIBC_LDSO)\" >> gcc-uClibc.h
++	@echo "#define DYNAMIC_LINKER " \"$(RUNTIME_PREFIX)/lib/$(UCLIBC_LDSO)\" >> gcc-uClibc.h
 +	@echo "#define BUILD_DYNAMIC_LINKER " \"$(UCLIBC_DIR)/lib/$(UCLIBC_LDSO)\" >> gcc-uClibc.h
 +ifeq ($(strip $(HAVE_SHARED)),y)
 +	@echo "#define __UCLIBC_HAS_SHARED__ 1" >> gcc-uClibc.h
@@ -733,8 +734,7 @@
 +ld-uClibc:
 +	@echo "#!/bin/sh" > $(TARGET_ARCH)-uclibc-ld
 +	@echo "# This file was autogenerated by make" >> $(TARGET_ARCH)-uclibc-ld
-+	@echo "$(LD_BIN) \$$@ -L$(DEVEL_PREFIX)/usr/lib -L$(DEVEL_PREFIX)/lib "\
-+		"-L$(UCLIBC_DIR)" >> $(TARGET_ARCH)-uclibc-ld
++	@echo "exec $(LD_BIN) \$$@ -L$(DEVEL_PREFIX)/lib" >> $(TARGET_ARCH)-uclibc-ld
 +	chmod a+x $(TARGET_ARCH)-uclibc-ld
 +	touch ld-uClibc
 +
@@ -766,45 +766,37 @@
 +	rm -f gcc-uClibc.h *-uclibc-gcc *-uclibc-ld core
 +
 +
-diff -urN uClibc-0.9.26.org/extra/Makefile uClibc-0.9.26/extra/Makefile
---- uClibc-0.9.26.org/extra/Makefile	2004-01-25 15:20:33.050030242 +0100
-+++ uClibc-0.9.26/extra/Makefile	2004-01-25 16:02:02.133944484 +0100
-@@ -26,7 +26,7 @@
- LIBC=$(TOPDIR)libc.a
- 
- 
--DIRS = 
-+DIRS = gcc-uClibc
- EXTRA_DIRS_TO_CLEAN = config
- 
- all: subdirs
---- uClibc-0.9.27/Makefile.orig	2005-01-12 08:59:21.000000000 +0100
-+++ uClibc-0.9.27/Makefile	2005-01-15 20:49:24.817701160 +0100
-@@ -28,7 +28,7 @@
- TOPDIR=./
- include Rules.mak
- 
--DIRS = ldso libc libcrypt libresolv libnsl libutil libm libpthread librt
-+DIRS = extra ldso libc libcrypt libresolv libnsl libutil libm libpthread librt
- ifeq ($(strip $(UCLIBC_HAS_GETTEXT_AWARENESS)),y)
- 	DIRS += libintl
- endif
-@@ -137,7 +137,7 @@
- tags:
- 	ctags -R
+diff -ur uClibc/Makefile.in uClibc.toolchain/Makefile.in
+--- uClibc/Makefile.in	2006-01-03 09:12:11.000000000 +0100
++++ uClibc.toolchain/Makefile.in	2006-01-04 18:44:00.000000000 +0100
+@@ -16,7 +16,7 @@
+ 
+ ifeq ($(HAVE_DOT_CONFIG),y)
+ 
+-all: pregen libs
++all: pregen libs toolchain
+ 
+ # In this section, we need .config
+ -include .config.cmd
+@@ -99,7 +99,7 @@
  
--install: install_runtime install_dev finished2
-+install: install_runtime install_dev install_toolchain finished2
+ pregen: headers
  
+-install: install_runtime install_dev
++install: install_runtime install_dev install_toolchain
  
- RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
-@@ -257,6 +257,9 @@
- #	$(INSTALL) -m 755 libc/misc/wchar/iconv.target $(PREFIX)$(RUNTIME_PREFIX)/usr/bin/iconv
- #endif
  
-+install_toolchain:
-+	$(MAKE) -C extra/gcc-uClibc install
+ RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)lib $(RUNTIME_PREFIX)lib)
+@@ -236,6 +236,12 @@
+ 	fi
+ endif
+ 
++toolchain:
++	$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C extra/gcc-uClibc
 +
- finished2:
- 	@echo
- 	@echo Finished installing...
++install_toolchain: toolchain
++	$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C extra/gcc-uClibc install
++
+ utils:
+ 	$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/uClibc-targetcpu.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/SOURCES/uClibc-toolchain-wrapper.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list