diff options
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 18 |
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 @@ | |||
1 | inherit cross-canadian | 1 | inherit cross-canadian |
2 | 2 | ||
3 | |||
4 | DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" | 3 | DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" |
5 | PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 4 | PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
6 | BPN = "binutils" | 5 | BPN = "binutils" |
7 | 6 | ||
8 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" | 7 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" |
9 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ | 8 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ |
10 | --program-prefix=${TARGET_PREFIX}" | 9 | --program-prefix=${TARGET_PREFIX}" |
11 | 10 | ||
12 | do_install () { | 11 | do_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 | |||
2 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | 2 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" |
3 | 3 | ||
4 | EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ | 4 | EXTRA_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 | ||
10 | do_install () { | 10 | do_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 @@ | |||
1 | SUMMARY = "A GNU collection of binary utilities" | 1 | SUMMARY = "A GNU collection of binary utilities" |
2 | DESCRIPTION = "The GNU Binutils are a collection of binary tools. The main ones are ld (GNU Linker), and as \ | 2 | DESCRIPTION = "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 \ | 3 | The main ones are ld (GNU Linker), and as (GNU Assembler). This \ |
4 | and line numbers), ar (utility for creating, modifying and extracting archives), nm (list symbols in object \ | 4 | package also includes addition tools such as addr2line (Converts \ |
5 | files), objcopy (copy and translate object files), objdump (Display object information), and other tools and \ | 5 | addresses into filenames and line numbers), ar (utility for creating, \ |
6 | related libraries." | 6 | modifying and extracting archives), nm (list symbols in object \ |
7 | files), objcopy (copy and translate object files), objdump (Display \ | ||
8 | object information), and other tools and related libraries." | ||
7 | HOMEPAGE = "http://www.gnu.org/software/binutils/" | 9 | HOMEPAGE = "http://www.gnu.org/software/binutils/" |
8 | BUGTRACKER = "http://sourceware.org/bugzilla/" | 10 | BUGTRACKER = "http://sourceware.org/bugzilla/" |
9 | SECTION = "devel" | 11 | SECTION = "devel" |
@@ -44,8 +46,8 @@ FILES_${PN}-symlinks = " \ | |||
44 | B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" | 46 | B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" |
45 | 47 | ||
46 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ | 48 | EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ |
47 | --enable-install-libbfd \ | 49 | --enable-install-libbfd \ |
48 | --enable-shared" | 50 | --enable-shared" |
49 | 51 | ||
50 | EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" | 52 | EXTRA_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 | |||
147 | pkg_prerm_${PN}-symlinks () { | 148 | pkg_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 | |||