summaryrefslogtreecommitdiff
path: root/packages/binutils/binutils-cross-sdk_2.16.91.0.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/binutils/binutils-cross-sdk_2.16.91.0.6.bb')
-rw-r--r--packages/binutils/binutils-cross-sdk_2.16.91.0.6.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/binutils/binutils-cross-sdk_2.16.91.0.6.bb b/packages/binutils/binutils-cross-sdk_2.16.91.0.6.bb
new file mode 100644
index 0000000000..714e3ce7ef
--- /dev/null
+++ b/packages/binutils/binutils-cross-sdk_2.16.91.0.6.bb
@@ -0,0 +1,20 @@
+SECTION = "devel"
+include binutils_${PV}.bb
+inherit sdk
+DEPENDS += "flex-native bison-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+ --program-prefix=${TARGET_PREFIX}"
+
+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}
+}