diff options
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 @@ +inherit sdk +DEPENDS += "flex-native bison-native" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" +EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ + --program-prefix=${TARGET_PREFIX}" + +FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" + +do_stage() { + : +} + +do_install () { + autotools_do_install + + # Install the libiberty header + install -d ${D}${includedir} + install -m 644 ${S}/include/ansidecl.h ${D}${includedir} + install -m 644 ${S}/include/libiberty.h ${D}${includedir} +} |