summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2010-12-22 10:05:39 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 16:07:00 +0000
commitb3a195d1e85feeccb3c9c448bbd0384c9cac4fb8 (patch)
tree524815ccdc98f1f468d7e283450096ccddec24e3
parent674f99954091856a67c532d17248df6c59b9394d (diff)
downloadpoky-b3a195d1e85feeccb3c9c448bbd0384c9cac4fb8.tar.gz
binutils*.inc: Recipe format cleanup
Cleanup some simple whitespace / line break issues. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc5
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross.inc6
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc18
3 files changed, 14 insertions, 15 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index 2fca81dbeb..e042ac76b5 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -1,16 +1,15 @@
1inherit cross-canadian 1inherit cross-canadian
2 2
3
4DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" 3DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target"
5PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" 4PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
6BPN = "binutils" 5BPN = "binutils"
7 6
8DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" 7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
9EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ 8EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
10 --program-prefix=${TARGET_PREFIX}" 9 --program-prefix=${TARGET_PREFIX}"
11 10
12do_install () { 11do_install () {
13 autotools_do_install 12 autotools_do_install
14 13
15 # We're not interested in the libs or headers, these would come from the 14 # We're not interested in the libs or headers, these would come from the
16 # nativesdk or target version of the binutils recipe 15 # nativesdk or target version of the binutils recipe
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 8c75e4ffe7..4b909720de 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -2,10 +2,10 @@ inherit cross
2PROVIDES = "virtual/${TARGET_PREFIX}binutils" 2PROVIDES = "virtual/${TARGET_PREFIX}binutils"
3 3
4EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ 4EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
5 --program-prefix=${TARGET_PREFIX} \ 5 --program-prefix=${TARGET_PREFIX} \
6 --disable-install-libbfd \ 6 --disable-install-libbfd \
7 --disable-werror \ 7 --disable-werror \
8 --enable-poison-system-directories" 8 --enable-poison-system-directories"
9 9
10do_install () { 10do_install () {
11 oe_runmake 'DESTDIR=${D}' install 11 oe_runmake 'DESTDIR=${D}' install
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 8669d7f871..7f1f647977 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -1,9 +1,11 @@
1SUMMARY = "A GNU collection of binary utilities" 1SUMMARY = "A GNU collection of binary utilities"
2DESCRIPTION = "The GNU Binutils are a collection of binary tools. The main ones are ld (GNU Linker), and as \ 2DESCRIPTION = "The GNU Binutils are a collection of binary tools. \
3(GNU Assembler). This package also includes addition tools such as addr2line (Converts addresses into filenames \ 3The main ones are ld (GNU Linker), and as (GNU Assembler). This \
4and line numbers), ar (utility for creating, modifying and extracting archives), nm (list symbols in object \ 4package also includes addition tools such as addr2line (Converts \
5files), objcopy (copy and translate object files), objdump (Display object information), and other tools and \ 5addresses into filenames and line numbers), ar (utility for creating, \
6related libraries." 6modifying and extracting archives), nm (list symbols in object \
7files), objcopy (copy and translate object files), objdump (Display \
8object information), and other tools and related libraries."
7HOMEPAGE = "http://www.gnu.org/software/binutils/" 9HOMEPAGE = "http://www.gnu.org/software/binutils/"
8BUGTRACKER = "http://sourceware.org/bugzilla/" 10BUGTRACKER = "http://sourceware.org/bugzilla/"
9SECTION = "devel" 11SECTION = "devel"
@@ -44,8 +46,8 @@ FILES_${PN}-symlinks = " \
44B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" 46B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
45 47
46EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ 48EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
47 --enable-install-libbfd \ 49 --enable-install-libbfd \
48 --enable-shared" 50 --enable-shared"
49 51
50EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" 52EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
51 53
@@ -143,9 +145,7 @@ pkg_postinst_${PN}-symlinks () {
143 update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100 145 update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100
144} 146}
145 147
146
147pkg_prerm_${PN}-symlinks () { 148pkg_prerm_${PN}-symlinks () {
148 update-alternatives --remove ar ${TARGET_SYS}-ar 149 update-alternatives --remove ar ${TARGET_SYS}-ar
149 update-alternatives --remove strings ${TARGET_SYS}-strings 150 update-alternatives --remove strings ${TARGET_SYS}-strings
150} 151}
151