mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
binutils*.inc: Recipe format cleanup
Cleanup some simple whitespace / line break issues. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
674f999540
commit
b3a195d1e8
@@ -1,16 +1,15 @@
|
|||||||
inherit cross-canadian
|
inherit cross-canadian
|
||||||
|
|
||||||
|
|
||||||
DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target"
|
DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target"
|
||||||
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
|
||||||
BPN = "binutils"
|
BPN = "binutils"
|
||||||
|
|
||||||
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
|
||||||
EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
|
EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
|
||||||
--program-prefix=${TARGET_PREFIX}"
|
--program-prefix=${TARGET_PREFIX}"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
autotools_do_install
|
autotools_do_install
|
||||||
|
|
||||||
# We're not interested in the libs or headers, these would come from the
|
# We're not interested in the libs or headers, these would come from the
|
||||||
# nativesdk or target version of the binutils recipe
|
# nativesdk or target version of the binutils recipe
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ inherit cross
|
|||||||
PROVIDES = "virtual/${TARGET_PREFIX}binutils"
|
PROVIDES = "virtual/${TARGET_PREFIX}binutils"
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
|
EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
|
||||||
--program-prefix=${TARGET_PREFIX} \
|
--program-prefix=${TARGET_PREFIX} \
|
||||||
--disable-install-libbfd \
|
--disable-install-libbfd \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-poison-system-directories"
|
--enable-poison-system-directories"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
oe_runmake 'DESTDIR=${D}' install
|
oe_runmake 'DESTDIR=${D}' install
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
SUMMARY = "A GNU collection of binary utilities"
|
SUMMARY = "A GNU collection of binary utilities"
|
||||||
DESCRIPTION = "The GNU Binutils are a collection of binary tools. The main ones are ld (GNU Linker), and as \
|
DESCRIPTION = "The GNU Binutils are a collection of binary tools. \
|
||||||
(GNU Assembler). This package also includes addition tools such as addr2line (Converts addresses into filenames \
|
The main ones are ld (GNU Linker), and as (GNU Assembler). This \
|
||||||
and line numbers), ar (utility for creating, modifying and extracting archives), nm (list symbols in object \
|
package also includes addition tools such as addr2line (Converts \
|
||||||
files), objcopy (copy and translate object files), objdump (Display object information), and other tools and \
|
addresses into filenames and line numbers), ar (utility for creating, \
|
||||||
related libraries."
|
modifying and extracting archives), nm (list symbols in object \
|
||||||
|
files), objcopy (copy and translate object files), objdump (Display \
|
||||||
|
object information), and other tools and related libraries."
|
||||||
HOMEPAGE = "http://www.gnu.org/software/binutils/"
|
HOMEPAGE = "http://www.gnu.org/software/binutils/"
|
||||||
BUGTRACKER = "http://sourceware.org/bugzilla/"
|
BUGTRACKER = "http://sourceware.org/bugzilla/"
|
||||||
SECTION = "devel"
|
SECTION = "devel"
|
||||||
@@ -44,8 +46,8 @@ FILES_${PN}-symlinks = " \
|
|||||||
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
|
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
|
||||||
|
|
||||||
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
|
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
|
||||||
--enable-install-libbfd \
|
--enable-install-libbfd \
|
||||||
--enable-shared"
|
--enable-shared"
|
||||||
|
|
||||||
EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
|
EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
|
||||||
|
|
||||||
@@ -143,9 +145,7 @@ pkg_postinst_${PN}-symlinks () {
|
|||||||
update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100
|
update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pkg_prerm_${PN}-symlinks () {
|
pkg_prerm_${PN}-symlinks () {
|
||||||
update-alternatives --remove ar ${TARGET_SYS}-ar
|
update-alternatives --remove ar ${TARGET_SYS}-ar
|
||||||
update-alternatives --remove strings ${TARGET_SYS}-strings
|
update-alternatives --remove strings ${TARGET_SYS}-strings
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user