summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/binutils-cross-sdk_2.15.91.0.2.oe21
1 files changed, 21 insertions, 0 deletions
diff --git a/binutils/binutils-cross-sdk_2.15.91.0.2.oe b/binutils/binutils-cross-sdk_2.15.91.0.2.oe
index e69de29bb2..e9af9e897c 100644
--- a/binutils/binutils-cross-sdk_2.15.91.0.2.oe
+++ b/binutils/binutils-cross-sdk_2.15.91.0.2.oe
@@ -0,0 +1,21 @@
+PR = "r1"
+include binutils_${PV}.oe
+inherit sdk
+DEPENDS += "flex-native bison-native"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}"
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+ --disable-nls \
+ --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}
+}