aboutsummaryrefslogtreecommitdiff
path: root/remoteproc
diff options
context:
space:
mode:
authorLior Dekel <Lior.dekel@arm.com>2021-12-02 10:58:12 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-12-16 11:44:27 +0000
commitc3f4a8323984c279e143e634e7645eac86558b12 (patch)
treec757d0463840854e2e30287176ddc6c796e51502 /remoteproc
parentafb399f7b39029280a36d4f727320e8842344dac (diff)
downloadethos-u-linux-driver-stack-c3f4a8323984c279e143e634e7645eac86558b12.tar.gz
Corstone700 Kernel modules build fix.
JIRA: MLBEDSW-5531 Change-Id: Ib4b6b6b0ee3995bb01029d561c4cf7eed981a303
Diffstat (limited to 'remoteproc')
-rw-r--r--remoteproc/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoteproc/CMakeLists.txt b/remoteproc/CMakeLists.txt
index fa3491a..58c9796 100644
--- a/remoteproc/CMakeLists.txt
+++ b/remoteproc/CMakeLists.txt
@@ -43,7 +43,7 @@ add_custom_target(ethosu-remoteproc-module ALL
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${KDIR}
EXTRA_CFLAGS=-I${KDIR}/../../../drivers/remoteproc M=${CMAKE_CURRENT_SOURCE_DIR}
${MODULES}
- CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 modules
+ CROSS_COMPILE=${CROSS_COMPILE} ARCH=${ARCH} modules
BYPRODUCTS
${CMAKE_CURRENT_SOURCE_DIR}/ethosu_remoteproc.ko
${CMAKE_CURRENT_SOURCE_DIR}/ethosu_remoteproc.mod.o
@@ -54,3 +54,4 @@ add_custom_target(ethosu-remoteproc-module ALL
COMMENT "Building remoteproc modules"
VERBATIM)
+install(FILES ethosu_remoteproc.ko DESTINATION "modules") \ No newline at end of file