From a69d50f45b7fc386147d619e76b6953687f34316 Mon Sep 17 00:00:00 2001
From: Chris Larson <clarson@kergoth.com>
Date: Fri, 20 Feb 2004 23:35:21 +0000
Subject: Merge openembedded@openembedded.bkbits.net:packages into
 direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages

2004/02/20 17:34:57-06:00 ti.com!kergoth
Glibc toolchain build updates:
	Gcc 3.3.3.
	Kernel-headers 2.4.25 instead of 2.4.21.
	Install them into include rather than sys-include.
	Tweaking some configure options all around based on comments in crosstool.

BKrev: 403699b93isV6v6AhTg1skp2YYom8Q
---
 binutils/binutils-cross_2.14.90.0.6.oe        |  3 +++
 binutils/binutils-cross_2.14.90.0.7.oe        | 33 +++++++++++++++++++++++++++
 binutils/binutils-cross_2.14.90.0.8.oe        | 33 +++++++++++++++++++++++++++
 binutils/binutils-uclibc-cross_2.14.90.0.6.oe |  3 +++
 binutils/binutils-uclibc-cross_2.14.90.0.7.oe | 33 +++++++++++++++++++++++++++
 binutils/binutils-uclibc-cross_2.14.90.0.8.oe | 33 +++++++++++++++++++++++++++
 binutils/binutils_2.14.90.0.6.oe              |  2 +-
 binutils/binutils_2.14.90.0.7.oe              |  2 +-
 binutils/binutils_2.14.90.0.8.oe              |  2 +-
 9 files changed, 141 insertions(+), 3 deletions(-)

(limited to 'binutils')

diff --git a/binutils/binutils-cross_2.14.90.0.6.oe b/binutils/binutils-cross_2.14.90.0.6.oe
index c898d7010f..dd1aa7622d 100644
--- a/binutils/binutils-cross_2.14.90.0.6.oe
+++ b/binutils/binutils-cross_2.14.90.0.6.oe
@@ -4,6 +4,9 @@ PROVIDES = virtual/${TARGET_PREFIX}binutils
 DEPENDS = patcher
 FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
 PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+		--disable-nls \
+		--program-prefix=${TARGET_PREFIX}'
 
 do_stage () {
 	oe_runmake install
diff --git a/binutils/binutils-cross_2.14.90.0.7.oe b/binutils/binutils-cross_2.14.90.0.7.oe
index e69de29bb2..dd1aa7622d 100644
--- a/binutils/binutils-cross_2.14.90.0.7.oe
+++ b/binutils/binutils-cross_2.14.90.0.7.oe
@@ -0,0 +1,33 @@
+include binutils_${PV}.oe
+inherit cross
+PROVIDES = virtual/${TARGET_PREFIX}binutils
+DEPENDS = patcher
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+		--disable-nls \
+		--program-prefix=${TARGET_PREFIX}'
+
+do_stage () {
+	oe_runmake install
+
+	# We don't really need these, so we'll remove them...
+	rm -rf ${CROSS_DIR}/lib/ldscripts
+	rm -rf ${CROSS_DIR}/share/info
+	rm -rf ${CROSS_DIR}/share/locale
+	rm -rf ${CROSS_DIR}/share/man
+	rmdir ${CROSS_DIR}/share || :
+	rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
+	rmdir ${CROSS_DIR}/${libdir} || :
+	rmdir ${CROSS_DIR}/${prefix} || :
+
+	# We want to move this into the target specific location
+	mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+	mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+	rmdir ${CROSS_DIR}/lib || :
+}
+
+do_install () {
+	:
+}
+
diff --git a/binutils/binutils-cross_2.14.90.0.8.oe b/binutils/binutils-cross_2.14.90.0.8.oe
index e69de29bb2..dd1aa7622d 100644
--- a/binutils/binutils-cross_2.14.90.0.8.oe
+++ b/binutils/binutils-cross_2.14.90.0.8.oe
@@ -0,0 +1,33 @@
+include binutils_${PV}.oe
+inherit cross
+PROVIDES = virtual/${TARGET_PREFIX}binutils
+DEPENDS = patcher
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+		--disable-nls \
+		--program-prefix=${TARGET_PREFIX}'
+
+do_stage () {
+	oe_runmake install
+
+	# We don't really need these, so we'll remove them...
+	rm -rf ${CROSS_DIR}/lib/ldscripts
+	rm -rf ${CROSS_DIR}/share/info
+	rm -rf ${CROSS_DIR}/share/locale
+	rm -rf ${CROSS_DIR}/share/man
+	rmdir ${CROSS_DIR}/share || :
+	rmdir ${CROSS_DIR}/${libdir}/gcc-lib || :
+	rmdir ${CROSS_DIR}/${libdir} || :
+	rmdir ${CROSS_DIR}/${prefix} || :
+
+	# We want to move this into the target specific location
+	mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+	mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+	rmdir ${CROSS_DIR}/lib || :
+}
+
+do_install () {
+	:
+}
+
diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe b/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
index 7f7b696d38..2c4f2b2344 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
@@ -4,6 +4,9 @@ PROVIDES = virtual/${TARGET_PREFIX}binutils
 DEPENDS = patcher
 FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
 PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+		--disable-nls \
+		--program-prefix=${TARGET_PREFIX}'
 
 do_stage () {
 	oe_runmake install
diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.7.oe b/binutils/binutils-uclibc-cross_2.14.90.0.7.oe
index e69de29bb2..2c4f2b2344 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.7.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.7.oe
@@ -0,0 +1,33 @@
+include binutils-uclibc_${PV}.oe
+inherit cross
+PROVIDES = virtual/${TARGET_PREFIX}binutils
+DEPENDS = patcher
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+		--disable-nls \
+		--program-prefix=${TARGET_PREFIX}'
+
+do_stage () {
+	oe_runmake install
+
+	# We don't really need these, so we'll remove them...
+	rm -rf ${CROSS_DIR}/lib/ldscripts
+	rm -rf ${CROSS_DIR}/share/info
+	rm -rf ${CROSS_DIR}/share/locale
+	rm -rf ${CROSS_DIR}/share/man
+	rmdir ${CROSS_DIR}/share || :
+	rmdir ${CROSS_DIR}${libdir}/gcc-lib || :
+	rmdir ${CROSS_DIR}${libdir} || :
+	rmdir ${CROSS_DIR}${prefix} || :
+
+	# We want to move this into the target specific location
+	mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+	mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+	rmdir ${CROSS_DIR}/lib || :
+}
+
+do_install () {
+	:
+}
+
diff --git a/binutils/binutils-uclibc-cross_2.14.90.0.8.oe b/binutils/binutils-uclibc-cross_2.14.90.0.8.oe
index e69de29bb2..2c4f2b2344 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.8.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.8.oe
@@ -0,0 +1,33 @@
+include binutils-uclibc_${PV}.oe
+inherit cross
+PROVIDES = virtual/${TARGET_PREFIX}binutils
+DEPENDS = patcher
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+PACKAGES =
+EXTRA_OECONF = '--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+		--disable-nls \
+		--program-prefix=${TARGET_PREFIX}'
+
+do_stage () {
+	oe_runmake install
+
+	# We don't really need these, so we'll remove them...
+	rm -rf ${CROSS_DIR}/lib/ldscripts
+	rm -rf ${CROSS_DIR}/share/info
+	rm -rf ${CROSS_DIR}/share/locale
+	rm -rf ${CROSS_DIR}/share/man
+	rmdir ${CROSS_DIR}/share || :
+	rmdir ${CROSS_DIR}${libdir}/gcc-lib || :
+	rmdir ${CROSS_DIR}${libdir} || :
+	rmdir ${CROSS_DIR}${prefix} || :
+
+	# We want to move this into the target specific location
+	mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+	mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib
+	rmdir ${CROSS_DIR}/lib || :
+}
+
+do_install () {
+	:
+}
+
diff --git a/binutils/binutils_2.14.90.0.6.oe b/binutils/binutils_2.14.90.0.6.oe
index 94657cbf98..8aa5489d0d 100644
--- a/binutils/binutils_2.14.90.0.6.oe
+++ b/binutils/binutils_2.14.90.0.6.oe
@@ -46,7 +46,7 @@ SRC_URI := http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2
 S := ${WORKDIR}/binutils-${PV}
 B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
 
-EXTRA_OECONF = '--disable-nls --program-prefix=${TARGET_PREFIX}'
+EXTRA_OECONF = '--with-sysroot=${prefix}'
 
 # This is necessary due to a bug in the binutils Makefiles
 EXTRA_OEMAKE = configure-build-libiberty all
diff --git a/binutils/binutils_2.14.90.0.7.oe b/binutils/binutils_2.14.90.0.7.oe
index 94657cbf98..8aa5489d0d 100644
--- a/binutils/binutils_2.14.90.0.7.oe
+++ b/binutils/binutils_2.14.90.0.7.oe
@@ -46,7 +46,7 @@ SRC_URI := http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2
 S := ${WORKDIR}/binutils-${PV}
 B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
 
-EXTRA_OECONF = '--disable-nls --program-prefix=${TARGET_PREFIX}'
+EXTRA_OECONF = '--with-sysroot=${prefix}'
 
 # This is necessary due to a bug in the binutils Makefiles
 EXTRA_OEMAKE = configure-build-libiberty all
diff --git a/binutils/binutils_2.14.90.0.8.oe b/binutils/binutils_2.14.90.0.8.oe
index bc564d8fdd..cf2a0ca477 100644
--- a/binutils/binutils_2.14.90.0.8.oe
+++ b/binutils/binutils_2.14.90.0.8.oe
@@ -45,7 +45,7 @@ SRC_URI := http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2
 S := ${WORKDIR}/binutils-${PV}
 B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
 
-EXTRA_OECONF = '--disable-nls --program-prefix=${TARGET_PREFIX}'
+EXTRA_OECONF = '--with-sysroot=${prefix}'
 
 # This is necessary due to a bug in the binutils Makefiles
 EXTRA_OEMAKE = configure-build-libiberty all
-- 
cgit v1.2.3