summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils-cross-sdk.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-17 00:05:34 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:25:22 +0100
commit0d7207ca39d1671682f9467a804766b151048573 (patch)
tree88a9b9b8588d8df986f4d6f0f4a232ec41841261 /meta/packages/binutils/binutils-cross-sdk.inc
parentaf85ce4b4e675feb5796f87137c86d70c2f15b9a (diff)
downloadpoky-0d7207ca39d1671682f9467a804766b151048573.tar.gz
sdk.bbclass: Rename to nativesdk.bbclass
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/binutils/binutils-cross-sdk.inc')
-rw-r--r--meta/packages/binutils/binutils-cross-sdk.inc24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/binutils/binutils-cross-sdk.inc b/meta/packages/binutils/binutils-cross-sdk.inc
deleted file mode 100644
index 10e3080306..0000000000
--- a/meta/packages/binutils/binutils-cross-sdk.inc
+++ /dev/null
@@ -1,24 +0,0 @@
1inherit sdk
2DEPENDS += "flex-native bison-native"
3EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
4 --program-prefix=${TARGET_PREFIX}"
5
6do_stage() {
7 :
8}
9
10do_install () {
11 autotools_do_install
12
13 # Fix the ${prefix}/${TARGET_SYS}/bin/* files to be symlinks
14 rm ${D}${prefix}/${TARGET_SYS}/bin/.debug -Rf
15 rm ${D}${prefix}/${TARGET_SYS}/bin/*
16 for l in ${D}${bindir}/*; do
17 ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`"
18 done
19
20 # Install the libiberty header
21 install -d ${D}${includedir}
22 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
23 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
24}