mirror of
https://git.yoctoproject.org/poky
synced 2026-06-04 14:09:47 +00:00
binutils 2.16, 2.17.50.0.5: make them provide 'ar' and 'strings' via update-alternatives
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1571 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
DESCRIPTION = "A GNU collection of binary utilities"
|
||||
HOMEPAGE = "http://www.gnu.org/software/binutils/"
|
||||
SECTION = "devel"
|
||||
LICENSE = "GPL"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
|
||||
PACKAGES += "${PN}-symlinks"
|
||||
|
||||
FILES_${PN} = " \
|
||||
${bindir}/${TARGET_PREFIX}* \
|
||||
@@ -28,6 +33,9 @@ FILES_${PN}-symlinks = " \
|
||||
${bindir}/size \
|
||||
${bindir}/strip"
|
||||
|
||||
S = "${WORKDIR}/binutils-${PV}"
|
||||
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
|
||||
|
||||
EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
|
||||
--enable-shared"
|
||||
|
||||
@@ -60,6 +68,13 @@ export CC = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
|
||||
do_configure () {
|
||||
(cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
|
||||
oe_runconf
|
||||
#
|
||||
# must prime config.cache to ensure the build of libiberty
|
||||
#
|
||||
mkdir -p ${B}/build-${BUILD_SYS}
|
||||
for i in ${CONFIG_SITE}; do
|
||||
cat $i >> ${B}/build-${BUILD_SYS}/config.cache
|
||||
done
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
|
||||
Reference in New Issue
Block a user