diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-24 13:43:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-24 13:43:10 +0000 |
commit | 913adea0a2905a7c589da4357f929b15c1e41734 (patch) | |
tree | 9d1bc311deb84ba4b7d0c51f7cdfca8b556549e0 /meta/packages/binutils/binutils-cross-sdk.inc | |
parent | 9519cc59d2151975e9aeed99979655badc140728 (diff) | |
download | poky-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.inc | 20 |
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 @@ | |||
1 | inherit sdk | ||
2 | DEPENDS += "flex-native bison-native" | ||
3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | ||
4 | EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ | ||
5 | --program-prefix=${TARGET_PREFIX}" | ||
6 | |||
7 | FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" | ||
8 | |||
9 | do_stage() { | ||
10 | : | ||
11 | } | ||
12 | |||
13 | do_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 | } | ||