summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/binutils/binutils-cross-sdk.inc34
-rw-r--r--meta/packages/binutils/binutils-cross-sdk_2.17.50.0.5.bb3
2 files changed, 2 insertions, 35 deletions
diff --git a/meta/packages/binutils/binutils-cross-sdk.inc b/meta/packages/binutils/binutils-cross-sdk.inc
deleted file mode 100644
index 6cc0579077..0000000000
--- a/meta/packages/binutils/binutils-cross-sdk.inc
+++ /dev/null
@@ -1,34 +0,0 @@
1inherit sdk
2DEPENDS += "flex-native bison-native"
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
4EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
5 --program-prefix=${TARGET_PREFIX}"
6
7
8FILES_binutils-cross-sdk-dbg = ""
9do_install () {
10 autotools_do_install
11
12 # We don't really need these, so we'll remove them...
13 rm -rf ${D}${libdir}/ldscripts
14
15 # Fix the /usr/${TARGET_SYS}/bin/* links
16 for l in ${D}${prefix}/${TARGET_SYS}/bin/*; do
17 rm -f $l
18 ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
19 | tr -s / \
20 | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
21 done
22
23 # Install the libiberty header
24 install -d ${D}${includedir}
25 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
26 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
27
28 cd ${D}${bindir}
29
30 # Symlinks for ease of running these on the native target
31 for p in ${TARGET_SYS}-* ; do
32 ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
33 done
34}
diff --git a/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.5.bb b/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.5.bb
index 7d3bb6c09c..a045d9bc9c 100644
--- a/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.5.bb
+++ b/meta/packages/binutils/binutils-cross-sdk_2.17.50.0.5.bb
@@ -3,8 +3,9 @@ require binutils_${PV}.bb
3inherit sdk 3inherit sdk
4DEPENDS += "flex-native bison-native" 4DEPENDS += "flex-native bison-native"
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" 5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
6EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ 6EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
7 --program-prefix=${TARGET_PREFIX}" 7 --program-prefix=${TARGET_PREFIX}"
8PR = "r2"
8 9
9do_stage() { 10do_stage() {
10 : 11 :