summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils-cross-sdk.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-24 13:43:10 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-24 13:43:10 +0000
commit913adea0a2905a7c589da4357f929b15c1e41734 (patch)
tree9d1bc311deb84ba4b7d0c51f7cdfca8b556549e0 /meta/packages/binutils/binutils-cross-sdk.inc
parent9519cc59d2151975e9aeed99979655badc140728 (diff)
downloadpoky-913adea0a2905a7c589da4357f929b15c1e41734.tar.gz
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
Diffstat (limited to 'meta/packages/binutils/binutils-cross-sdk.inc')
-rw-r--r--meta/packages/binutils/binutils-cross-sdk.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/binutils/binutils-cross-sdk.inc b/meta/packages/binutils/binutils-cross-sdk.inc
new file mode 100644
index 0000000000..6e59e9e569
--- /dev/null
+++ b/meta/packages/binutils/binutils-cross-sdk.inc
@@ -0,0 +1,20 @@
1inherit sdk
2DEPENDS += "flex-native bison-native"
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
4EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
5 --program-prefix=${TARGET_PREFIX}"
6
7FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"
8
9do_stage() {
10 :
11}
12
13do_install () {
14 autotools_do_install
15
16 # Install the libiberty header
17 install -d ${D}${includedir}
18 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
19 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
20}