Discussion:
[meta-arago] [master][PATCH] arm-compute-library: also un-hardcode ARM64 toolchain
Denys Dmytriyenko
2018-12-06 20:47:48 UTC
Permalink
From: Denys Dmytriyenko <***@ti.com>

Signed-off-by: Denys Dmytriyenko <***@ti.com>
---
.../recipes-support/arm-compute-library/arm-compute-library_git.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
index a8904cf..b82d618 100644
--- a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
+++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
@@ -30,6 +30,7 @@ S = "${WORKDIR}/git"

do_compile_prepend() {
sed -i 's/arm-linux-gnueabihf-/${TOOLCHAIN_SYS}-/' SConstruct
+ sed -i 's/aarch64-linux-gnu-/${TOOLCHAIN_SYS}-/' SConstruct
sed -i "s#env.Append(LINKFLAGS = \['-fopenmp'\])#env.Append(LINKFLAGS = \['-fopenmp','--sysroot=${STAGING_DIR_TARGET}'\])#" SConstruct
unset CC CXX
}
--
2.7.4
Loading...