summaryrefslogtreecommitdiffstats
path: root/meta-poky/recipes-devtools/binutils/binutils_2.29.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-poky/recipes-devtools/binutils/binutils_2.29.bbappend')
-rw-r--r--meta-poky/recipes-devtools/binutils/binutils_2.29.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-poky/recipes-devtools/binutils/binutils_2.29.bbappend b/meta-poky/recipes-devtools/binutils/binutils_2.29.bbappend
new file mode 100644
index 00000000000..f94655aa9a3
--- /dev/null
+++ b/meta-poky/recipes-devtools/binutils/binutils_2.29.bbappend
@@ -0,0 +1,6 @@
+CONFIGUREOPTS := "${@d.getVar("CONFIGUREOPTS").replace("--target=${TARGET_SYS}", "--target=arm-linux-gnueabihf")}"
+CONFIGUREOPTS := "${@d.getVar("CONFIGUREOPTS").replace("--host=${TARGET_SYS}", "--host=arm-linux-gnueabihf")}"
+EXTRA_OECONF := "${@d.getVar("EXTRA_OECONF").replace("--program-prefix=${TARGET_SYS}-", "--program-prefix=arm-linux-gnueabihf-")}"
+do_install := "${@d.getVar("do_install").replace("${TARGET_SYS}", "arm-linux-gnueabihf")}"
+FILES_${PN} += "${bindir}/arm-linux-gnueabihf* ${prefix}/arm-linux-gnueabihf/bin/*"
+#FILES-${PN}-dev += "${prefix}/${TARGET_SYS}/arm-linux-gnueabihf/include/*"