summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-24 15:18:35 +0000
committerChris Larson <clarson@kergoth.com>2004-03-24 15:18:35 +0000
commit19ff97c49f5e4b11eb395ce5e7b6a9a51171cdec (patch)
tree3797eff5681f7b7188f4e315c2b05fcd936f57e8 /binutils
parent85b9c66123293478a0618e3ba230adc266c85eea (diff)
Another pass of cleanups...
..cheated and made the parser temporarily more picky to spot the packages that need cleaning. BKrev: 4061a6cbKWfvpS3a5Dml4UNIp_LkNQ
Diffstat (limited to 'binutils')
-rw-r--r--binutils/binutils-cross_2.14.90.0.6.oe6
-rw-r--r--binutils/binutils-cross_2.14.90.0.7.oe6
-rw-r--r--binutils/binutils-cross_2.14.90.0.8.oe6
-rw-r--r--binutils/binutils-cross_2.15.90.0.1.oe6
-rw-r--r--binutils/binutils-uclibc-cross_2.14.90.0.6.oe12
-rw-r--r--binutils/binutils-uclibc-cross_2.14.90.0.7.oe12
-rw-r--r--binutils/binutils-uclibc-cross_2.14.90.0.8.oe12
-rw-r--r--binutils/binutils-uclibc-cross_2.15.90.0.1.oe33
-rw-r--r--binutils/binutils-uclibc_2.14.90.0.6.oe8
-rw-r--r--binutils/binutils-uclibc_2.14.90.0.7.oe8
-rw-r--r--binutils/binutils-uclibc_2.14.90.0.8.oe8
-rw-r--r--binutils/binutils-uclibc_2.15.90.0.1.oe18
-rw-r--r--binutils/binutils_2.14.90.0.7.oe68
-rw-r--r--binutils/binutils_2.14.90.0.8.oe68
-rw-r--r--binutils/binutils_2.15.90.0.1.oe68
15 files changed, 195 insertions, 144 deletions
diff --git a/binutils/binutils-cross_2.14.90.0.6.oe b/binutils/binutils-cross_2.14.90.0.6.oe
index 8a9fdc2537..e0d8a33fbf 100644
--- a/binutils/binutils-cross_2.14.90.0.6.oe
+++ b/binutils/binutils-cross_2.14.90.0.6.oe
@@ -3,10 +3,10 @@ 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} \
+PACKAGES = ""
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
--disable-nls \
- --program-prefix=${TARGET_PREFIX}'
+ --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 8a9fdc2537..e0d8a33fbf 100644
--- a/binutils/binutils-cross_2.14.90.0.7.oe
+++ b/binutils/binutils-cross_2.14.90.0.7.oe
@@ -3,10 +3,10 @@ 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} \
+PACKAGES = ""
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
--disable-nls \
- --program-prefix=${TARGET_PREFIX}'
+ --program-prefix=${TARGET_PREFIX}"
do_stage () {
oe_runmake install
diff --git a/binutils/binutils-cross_2.14.90.0.8.oe b/binutils/binutils-cross_2.14.90.0.8.oe
index 8a9fdc2537..e0d8a33fbf 100644
--- a/binutils/binutils-cross_2.14.90.0.8.oe
+++ b/binutils/binutils-cross_2.14.90.0.8.oe
@@ -3,10 +3,10 @@ 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} \
+PACKAGES = ""
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
--disable-nls \
- --program-prefix=${TARGET_PREFIX}'
+ --program-prefix=${TARGET_PREFIX}"
do_stage () {
oe_runmake install
diff --git a/binutils/binutils-cross_2.15.90.0.1.oe b/binutils/binutils-cross_2.15.90.0.1.oe
index 8a9fdc2537..e0d8a33fbf 100644
--- a/binutils/binutils-cross_2.15.90.0.1.oe
+++ b/binutils/binutils-cross_2.15.90.0.1.oe
@@ -3,10 +3,10 @@ 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} \
+PACKAGES = ""
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
--disable-nls \
- --program-prefix=${TARGET_PREFIX}'
+ --program-prefix=${TARGET_PREFIX}"
do_stage () {
oe_runmake 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 2c4f2b2344..f3f6365c60 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.6.oe
@@ -1,12 +1,12 @@
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} \
+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}'
+ --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 2c4f2b2344..31626ec9ba 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.7.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.7.oe
@@ -1,12 +1,12 @@
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} \
+PROVIDES = "virtual/${TARGET_PREFIX}binutils"
+DEPENDS = "patcher-native"
+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}'
+ --program-prefix=${TARGET_PREFIX}"
do_stage () {
oe_runmake 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 2c4f2b2344..f3f6365c60 100644
--- a/binutils/binutils-uclibc-cross_2.14.90.0.8.oe
+++ b/binutils/binutils-uclibc-cross_2.14.90.0.8.oe
@@ -1,12 +1,12 @@
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} \
+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}'
+ --program-prefix=${TARGET_PREFIX}"
do_stage () {
oe_runmake install
diff --git a/binutils/binutils-uclibc-cross_2.15.90.0.1.oe b/binutils/binutils-uclibc-cross_2.15.90.0.1.oe
index e69de29bb2..f3f6365c60 100644
--- a/binutils/binutils-uclibc-cross_2.15.90.0.1.oe
+++ b/binutils/binutils-uclibc-cross_2.15.90.0.1.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_2.14.90.0.6.oe b/binutils/binutils-uclibc_2.14.90.0.6.oe
index d483a1f71d..9b9829325f 100644
--- a/binutils/binutils-uclibc_2.14.90.0.6.oe
+++ b/binutils/binutils-uclibc_2.14.90.0.6.oe
@@ -1,10 +1,10 @@
include binutils_${PV}.oe
-FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}"
# This will ONLY build to this target
-TARGET_VENDOR := -uclibc
-TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-TARGET_PREFIX := ${TARGET_SYS}-
+TARGET_VENDOR = "-uclibc"
+TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX = "${TARGET_SYS}-"
binutilsbuild_do_patch () {
oenote IN binutils patch
diff --git a/binutils/binutils-uclibc_2.14.90.0.7.oe b/binutils/binutils-uclibc_2.14.90.0.7.oe
index d483a1f71d..dc68bfdf21 100644
--- a/binutils/binutils-uclibc_2.14.90.0.7.oe
+++ b/binutils/binutils-uclibc_2.14.90.0.7.oe
@@ -1,10 +1,10 @@
include binutils_${PV}.oe
-FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}"
# This will ONLY build to this target
-TARGET_VENDOR := -uclibc
-TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-TARGET_PREFIX := ${TARGET_SYS}-
+TARGET_VENDOR := "-uclibc"
+TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX := "${TARGET_SYS}-"
binutilsbuild_do_patch () {
oenote IN binutils patch
diff --git a/binutils/binutils-uclibc_2.14.90.0.8.oe b/binutils/binutils-uclibc_2.14.90.0.8.oe
index d483a1f71d..dc68bfdf21 100644
--- a/binutils/binutils-uclibc_2.14.90.0.8.oe
+++ b/binutils/binutils-uclibc_2.14.90.0.8.oe
@@ -1,10 +1,10 @@
include binutils_${PV}.oe
-FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}"
# This will ONLY build to this target
-TARGET_VENDOR := -uclibc
-TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-TARGET_PREFIX := ${TARGET_SYS}-
+TARGET_VENDOR := "-uclibc"
+TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX := "${TARGET_SYS}-"
binutilsbuild_do_patch () {
oenote IN binutils patch
diff --git a/binutils/binutils-uclibc_2.15.90.0.1.oe b/binutils/binutils-uclibc_2.15.90.0.1.oe
index e69de29bb2..dc68bfdf21 100644
--- a/binutils/binutils-uclibc_2.15.90.0.1.oe
+++ b/binutils/binutils-uclibc_2.15.90.0.1.oe
@@ -0,0 +1,18 @@
+include binutils_${PV}.oe
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}"
+
+# This will ONLY build to this target
+TARGET_VENDOR := "-uclibc"
+TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX := "${TARGET_SYS}-"
+
+binutilsbuild_do_patch () {
+ oenote IN binutils patch
+ perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *`
+}
+
+python do_patch () {
+ oe.build.exec_func('base_do_patch', d)
+ oe.build.exec_func('binutilsbuild_do_patch', d)
+}
+
diff --git a/binutils/binutils_2.14.90.0.7.oe b/binutils/binutils_2.14.90.0.7.oe
index 78ff4e2b13..1df2146c62 100644
--- a/binutils/binutils_2.14.90.0.7.oe
+++ b/binutils/binutils_2.14.90.0.7.oe
@@ -1,27 +1,27 @@
inherit autotools
-DESCRIPTION := A GNU collection of binary utilities
-LICENSE := GPL
-MAINTAINER := Gerald Britton <gbritton@doomcom.org>
+DESCRIPTION = "A GNU collection of binary utilities"
+LICENSE = "GPL"
+MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
# This will ONLY build to this target
-TARGET_VENDOR :=
-TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-TARGET_PREFIX := ${TARGET_SYS}-
+TARGET_VENDOR := ""
+TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX := "${TARGET_SYS}-"
-DEPENDS := virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \
- virtual/libc patcher
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \
+ virtual/libc patcher"
PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
-FILES_${PN} = \
- ${bindir}/${TARGET_PREFIX}*
+FILES_${PN} = " \
+ ${bindir}/${TARGET_PREFIX}*"
-FILES_${PN}-dev = \
+FILES_${PN}-dev = " \
${includedir} \
- ${libdir}/*.a
+ ${libdir}/*.a"
-FILES_${PN}-symlinks = \
+FILES_${PN}-symlinks = " \
${bindir}/addr2line \
${bindir}/ar \
${bindir}/as \
@@ -33,7 +33,7 @@ FILES_${PN}-symlinks = \
${bindir}/readelf \
${bindir}/size \
${bindir}/strings \
- ${bindir}/strip
+ ${bindir}/strip"
SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \
@@ -43,34 +43,34 @@ SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2
file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1 \
file://${FILESDIR}/binutils-906-hjl_libtool_dso.patch;patch=1"
-S := ${WORKDIR}/binutils-${PV}
-B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
+S = "${WORKDIR}/binutils-${PV}"
+B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
-EXTRA_OECONF = '--with-sysroot=${prefix}'
+EXTRA_OECONF = "--with-sysroot=${prefix}"
# This is necessary due to a bug in the binutils Makefiles
-EXTRA_OEMAKE = configure-build-libiberty all
+EXTRA_OEMAKE = "configure-build-libiberty all"
-export AR = ${HOST_PREFIX}ar
-export AS = ${HOST_PREFIX}as
-export LD = ${HOST_PREFIX}ld
-export NM = ${HOST_PREFIX}nm
-export RANLIB = ${HOST_PREFIX}ranlib
-export OBJCOPY = ${HOST_PREFIX}objcopy
-export OBJDUMP = ${HOST_PREFIX}objdump
+export AR = "${HOST_PREFIX}ar"
+export AS = "${HOST_PREFIX}as"
+export LD = "${HOST_PREFIX}ld"
+export NM = "${HOST_PREFIX}nm"
+export RANLIB = "${HOST_PREFIX}ranlib"
+export OBJCOPY = "${HOST_PREFIX}objcopy"
+export OBJDUMP = "${HOST_PREFIX}objdump"
-export AR_FOR_TARGET = ${TARGET_PREFIX}ar
-export AS_FOR_TARGET = ${TARGET_PREFIX}as
-export LD_FOR_TARGET = ${TARGET_PREFIX}ld
-export NM_FOR_TARGET = ${TARGET_PREFIX}nm
-export RANLIB_FOR_TARGET = ${TARGET_PREFIX}ranlib
+export AR_FOR_TARGET = "${TARGET_PREFIX}ar"
+export AS_FOR_TARGET = "${TARGET_PREFIX}as"
+export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
+export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
+export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
-export CC_FOR_HOST = ${CCACHE} ${HOST_PREFIX}gcc
-export CXX_FOR_HOST = ${CCACHE} ${HOST_PREFIX}gcc
+export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc"
+export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc"
-export CC_FOR_BUILD = ${BUILD_CC}
+export CC_FOR_BUILD = "${BUILD_CC}"
-export CC = ${CCACHE} ${HOST_PREFIX}gcc
+export CC = "${CCACHE} ${HOST_PREFIX}gcc"
do_configure () {
oe_runconf
diff --git a/binutils/binutils_2.14.90.0.8.oe b/binutils/binutils_2.14.90.0.8.oe
index e63bc4fb40..ff7b9e3568 100644
--- a/binutils/binutils_2.14.90.0.8.oe
+++ b/binutils/binutils_2.14.90.0.8.oe
@@ -1,27 +1,27 @@
inherit autotools
-DESCRIPTION := A GNU collection of binary utilities
-LICENSE := GPL
-MAINTAINER := Gerald Britton <gbritton@doomcom.org>
+DESCRIPTION = "A GNU collection of binary utilities"
+LICENSE = "GPL"
+MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
# This will ONLY build to this target
-TARGET_VENDOR :=
-TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-TARGET_PREFIX := ${TARGET_SYS}-
+TARGET_VENDOR := ""
+TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX := "${TARGET_SYS}-"
-DEPENDS := virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \
- virtual/libc patcher
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \
+ virtual/libc patcher"
PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
-FILES_${PN} = \
- ${bindir}/${TARGET_PREFIX}*
+FILES_${PN} = " \
+ ${bindir}/${TARGET_PREFIX}*"
-FILES_${PN}-dev = \
+FILES_${PN}-dev = " \
${includedir} \
- ${libdir}/*.a
+ ${libdir}/*.a"
-FILES_${PN}-symlinks = \
+FILES_${PN}-symlinks = " \
${bindir}/addr2line \
${bindir}/ar \
${bindir}/as \
@@ -33,7 +33,7 @@ FILES_${PN}-symlinks = \
${bindir}/readelf \
${bindir}/size \
${bindir}/strings \
- ${bindir}/strip
+ ${bindir}/strip"
SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \
@@ -42,34 +42,34 @@ SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2
file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \
file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1"
-S := ${WORKDIR}/binutils-${PV}
-B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
+S = "${WORKDIR}/binutils-${PV}"
+B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
-EXTRA_OECONF = '--with-sysroot=${prefix}'
+EXTRA_OECONF = "--with-sysroot=${prefix}"
# This is necessary due to a bug in the binutils Makefiles
-EXTRA_OEMAKE = configure-build-libiberty all
+EXTRA_OEMAKE = "configure-build-libiberty all"
-export AR = ${HOST_PREFIX}ar
-export AS = ${HOST_PREFIX}as
-export LD = ${HOST_PREFIX}ld
-export NM = ${HOST_PREFIX}nm
-export RANLIB = ${HOST_PREFIX}ranlib
-export OBJCOPY = ${HOST_PREFIX}objcopy
-export OBJDUMP = ${HOST_PREFIX}objdump
+export AR = "${HOST_PREFIX}ar"
+export AS = "${HOST_PREFIX}as"
+export LD = "${HOST_PREFIX}ld"
+export NM = "${HOST_PREFIX}nm"
+export RANLIB = "${HOST_PREFIX}ranlib"
+export OBJCOPY = "${HOST_PREFIX}objcopy"
+export OBJDUMP = "${HOST_PREFIX}objdump"
-export AR_FOR_TARGET = ${TARGET_PREFIX}ar
-export AS_FOR_TARGET = ${TARGET_PREFIX}as
-export LD_FOR_TARGET = ${TARGET_PREFIX}ld
-export NM_FOR_TARGET = ${TARGET_PREFIX}nm
-export RANLIB_FOR_TARGET = ${TARGET_PREFIX}ranlib
+export AR_FOR_TARGET = "${TARGET_PREFIX}ar"
+export AS_FOR_TARGET = "${TARGET_PREFIX}as"
+export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
+export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
+export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
-export CC_FOR_HOST = ${CCACHE} ${HOST_PREFIX}gcc
-export CXX_FOR_HOST = ${CCACHE} ${HOST_PREFIX}gcc
+export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc"
+export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc"
-export CC_FOR_BUILD = ${BUILD_CC}
+export CC_FOR_BUILD = "${BUILD_CC}"
-export CC = ${CCACHE} ${HOST_PREFIX}gcc
+export CC = "${CCACHE} ${HOST_PREFIX}gcc"
do_configure () {
oe_runconf
diff --git a/binutils/binutils_2.15.90.0.1.oe b/binutils/binutils_2.15.90.0.1.oe
index e63bc4fb40..ff7b9e3568 100644
--- a/binutils/binutils_2.15.90.0.1.oe
+++ b/binutils/binutils_2.15.90.0.1.oe
@@ -1,27 +1,27 @@
inherit autotools
-DESCRIPTION := A GNU collection of binary utilities
-LICENSE := GPL
-MAINTAINER := Gerald Britton <gbritton@doomcom.org>
+DESCRIPTION = "A GNU collection of binary utilities"
+LICENSE = "GPL"
+MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
# This will ONLY build to this target
-TARGET_VENDOR :=
-TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
-TARGET_PREFIX := ${TARGET_SYS}-
+TARGET_VENDOR := ""
+TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
+TARGET_PREFIX := "${TARGET_SYS}-"
-DEPENDS := virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \
- virtual/libc patcher
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \
+ virtual/libc patcher"
PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
-FILES_${PN} = \
- ${bindir}/${TARGET_PREFIX}*
+FILES_${PN} = " \
+ ${bindir}/${TARGET_PREFIX}*"
-FILES_${PN}-dev = \
+FILES_${PN}-dev = " \
${includedir} \
- ${libdir}/*.a
+ ${libdir}/*.a"
-FILES_${PN}-symlinks = \
+FILES_${PN}-symlinks = " \
${bindir}/addr2line \
${bindir}/ar \
${bindir}/as \
@@ -33,7 +33,7 @@ FILES_${PN}-symlinks = \
${bindir}/readelf \
${bindir}/size \
${bindir}/strings \
- ${bindir}/strip
+ ${bindir}/strip"
SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
file://${FILESDIR}/binutils-001_ld_makefile.patch;patch=1 \
@@ -42,34 +42,34 @@ SRC_URI = "http://ftp.kernel.org/pub/linux/devel/binutils/binutils-${PV}.tar.bz2
file://${FILESDIR}/binutils-012_check_ldrunpath_length.patch;patch=1 \
file://${FILESDIR}/binutils-100_cflags_for_build.patch;patch=1"
-S := ${WORKDIR}/binutils-${PV}
-B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
+S = "${WORKDIR}/binutils-${PV}"
+B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
-EXTRA_OECONF = '--with-sysroot=${prefix}'
+EXTRA_OECONF = "--with-sysroot=${prefix}"
# This is necessary due to a bug in the binutils Makefiles
-EXTRA_OEMAKE = configure-build-libiberty all
+EXTRA_OEMAKE = "configure-build-libiberty all"
-export AR = ${HOST_PREFIX}ar
-export AS = ${HOST_PREFIX}as
-export LD = ${HOST_PREFIX}ld
-export NM = ${HOST_PREFIX}nm
-export RANLIB = ${HOST_PREFIX}ranlib
-export OBJCOPY = ${HOST_PREFIX}objcopy
-export OBJDUMP = ${HOST_PREFIX}objdump
+export AR = "${HOST_PREFIX}ar"
+export AS = "${HOST_PREFIX}as"
+export LD = "${HOST_PREFIX}ld"
+export NM = "${HOST_PREFIX}nm"
+export RANLIB = "${HOST_PREFIX}ranlib"
+export OBJCOPY = "${HOST_PREFIX}objcopy"
+export OBJDUMP = "${HOST_PREFIX}objdump"
-export AR_FOR_TARGET = ${TARGET_PREFIX}ar
-export AS_FOR_TARGET = ${TARGET_PREFIX}as
-export LD_FOR_TARGET = ${TARGET_PREFIX}ld
-export NM_FOR_TARGET = ${TARGET_PREFIX}nm
-export RANLIB_FOR_TARGET = ${TARGET_PREFIX}ranlib
+export AR_FOR_TARGET = "${TARGET_PREFIX}ar"
+export AS_FOR_TARGET = "${TARGET_PREFIX}as"
+export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
+export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
+export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
-export CC_FOR_HOST = ${CCACHE} ${HOST_PREFIX}gcc
-export CXX_FOR_HOST = ${CCACHE} ${HOST_PREFIX}gcc
+export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc"
+export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc"
-export CC_FOR_BUILD = ${BUILD_CC}
+export CC_FOR_BUILD = "${BUILD_CC}"
-export CC = ${CCACHE} ${HOST_PREFIX}gcc
+export CC = "${CCACHE} ${HOST_PREFIX}gcc"
do_configure () {
oe_runconf