diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
| commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
| tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-devtools/binutils/binutils-cross-canadian.inc | |
| parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
| download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz | |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/binutils/binutils-cross-canadian.inc')
| -rw-r--r-- | meta-oe/recipes-devtools/binutils/binutils-cross-canadian.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta-oe/recipes-devtools/binutils/binutils-cross-canadian.inc new file mode 100644 index 0000000000..95e535a1b7 --- /dev/null +++ b/meta-oe/recipes-devtools/binutils/binutils-cross-canadian.inc | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | inherit cross-canadian | ||
| 2 | |||
| 3 | DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" | ||
| 4 | PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" | ||
| 5 | BPN = "binutils" | ||
| 6 | |||
| 7 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" | ||
| 8 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ | ||
| 9 | --program-prefix=${TARGET_PREFIX} \ | ||
| 10 | --disable-werror" | ||
| 11 | |||
| 12 | do_install () { | ||
| 13 | autotools_do_install | ||
| 14 | |||
| 15 | # We're not interested in the libs or headers, these would come from the | ||
| 16 | # nativesdk or target version of the binutils recipe | ||
| 17 | rm -rf ${D}${prefix}/${TARGET_SYS} | ||
| 18 | rm -f ${D}${libdir}/libbfd* | ||
| 19 | rm -f ${D}${libdir}/libiberty* | ||
| 20 | rm -f ${D}${libdir}/libopcodes* | ||
| 21 | rm -f ${D}${includedir}/*.h | ||
| 22 | } | ||
