mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
binutils: Factor common sdk code into binutils-cross-sdk.inc
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3580 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
inherit sdk
|
||||
DEPENDS += "flex-native bison-native"
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
|
||||
EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
|
||||
--program-prefix=${TARGET_PREFIX}"
|
||||
|
||||
FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
|
||||
|
||||
do_stage() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
||||
# Install the libiberty header
|
||||
install -d ${D}${includedir}
|
||||
install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
|
||||
install -m 644 ${S}/include/libiberty.h ${D}${includedir}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
require binutils_${PV}.bb
|
||||
require binutils-cross-sdk.inc
|
||||
PR = "r3"
|
||||
@@ -1,23 +1,3 @@
|
||||
SECTION = "devel"
|
||||
require binutils_${PV}.bb
|
||||
inherit sdk
|
||||
DEPENDS += "flex-native bison-native"
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
|
||||
EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
|
||||
--program-prefix=${TARGET_PREFIX}"
|
||||
require binutils-cross-sdk.inc
|
||||
PR = "r3"
|
||||
|
||||
FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
|
||||
|
||||
do_stage() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
||||
# Install the libiberty header
|
||||
install -d ${D}${includedir}
|
||||
install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
|
||||
install -m 644 ${S}/include/libiberty.h ${D}${includedir}
|
||||
}
|
||||
|
||||
@@ -1,23 +1,3 @@
|
||||
SECTION = "devel"
|
||||
require binutils_${PV}.bb
|
||||
inherit sdk
|
||||
DEPENDS += "flex-native bison-native"
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
|
||||
EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
|
||||
--program-prefix=${TARGET_PREFIX}"
|
||||
require binutils-cross-sdk.inc
|
||||
PR = "r3"
|
||||
|
||||
FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
|
||||
|
||||
do_stage() {
|
||||
:
|
||||
}
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
||||
# Install the libiberty header
|
||||
install -d ${D}${includedir}
|
||||
install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
|
||||
install -m 644 ${S}/include/libiberty.h ${D}${includedir}
|
||||
}
|
||||
|
||||
@@ -43,16 +43,8 @@ FILES_${PN}-symlinks = " \
|
||||
${bindir}/strings \
|
||||
${bindir}/strip"
|
||||
|
||||
SRC_URI = \
|
||||
"http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2 \
|
||||
# file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1;pnum=1\
|
||||
# file://binutils-uclibc-100-uclibc-conf.patch;patch=1;pnum=1 \
|
||||
# file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1;pnum=1 \
|
||||
# file://binutils-uclibc-300-006_better_file_error.patch;patch=1;pnum=1 \
|
||||
# file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1;pnum=1 \
|
||||
# file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1;pnum=1 \
|
||||
# file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1;pnum=1 \
|
||||
"
|
||||
SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2"
|
||||
|
||||
do_unpack2() {
|
||||
cd ${WORKDIR}
|
||||
pwd
|
||||
|
||||
Reference in New Issue
Block a user