diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/binutils-cross_2.14.90.0.6.oe | 3 | ||||
-rw-r--r-- | binutils/binutils-cross_2.14.90.0.7.oe | 33 | ||||
-rw-r--r-- | binutils/binutils-cross_2.14.90.0.8.oe | 33 | ||||
-rw-r--r-- | binutils/binutils-uclibc-cross_2.14.90.0.6.oe | 3 | ||||
-rw-r--r-- | binutils/binutils-uclibc-cross_2.14.90.0.7.oe | 33 | ||||
-rw-r--r-- | binutils/binutils-uclibc-cross_2.14.90.0.8.oe | 33 | ||||
-rw-r--r-- | binutils/binutils_2.14.90.0.6.oe | 2 | ||||
-rw-r--r-- | binutils/binutils_2.14.90.0.7.oe | 2 | ||||
-rw-r--r-- | binutils/binutils_2.14.90.0.8.oe | 2 |
9 files changed, 141 insertions, 3 deletions
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 |