[meta-ti] [morty/master][PATCH] srss-tc: pass proper CROSS_COMPILE and CFLAGS
Denys Dmytriyenko
denys at ti.com
Wed Dec 13 12:48:34 PST 2017
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-bsp/srss-tc/srss-tc_git.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-bsp/srss-tc/srss-tc_git.bb b/recipes-bsp/srss-tc/srss-tc_git.bb
index 3c90069..483bde0 100644
--- a/recipes-bsp/srss-tc/srss-tc_git.bb
+++ b/recipes-bsp/srss-tc/srss-tc_git.bb
@@ -20,6 +20,9 @@ INITSCRIPT_PARAMS = "defaults 10"
inherit update-rc.d
LDFLAGS += "-lrt"
+CFLAGS += "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
do_install() {
install -d ${D}${bindir}/
--
2.7.4
More information about the meta-ti
mailing list