From c3f4a8323984c279e143e634e7645eac86558b12 Mon Sep 17 00:00:00 2001 From: Lior Dekel Date: Thu, 2 Dec 2021 10:58:12 +0200 Subject: Corstone700 Kernel modules build fix. JIRA: MLBEDSW-5531 Change-Id: Ib4b6b6b0ee3995bb01029d561c4cf7eed981a303 --- remoteproc/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remoteproc') 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 -- cgit v1.2.1