diff options
author | Lior Dekel <Lior.dekel@arm.com> | 2021-12-02 10:58:12 +0200 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-12-16 11:44:27 +0000 |
commit | c3f4a8323984c279e143e634e7645eac86558b12 (patch) | |
tree | c757d0463840854e2e30287176ddc6c796e51502 /mailbox/CMakeLists.txt | |
parent | afb399f7b39029280a36d4f727320e8842344dac (diff) | |
download | ethos-u-linux-driver-stack-c3f4a8323984c279e143e634e7645eac86558b12.tar.gz |
Corstone700 Kernel modules build fix.
JIRA: MLBEDSW-5531
Change-Id: Ib4b6b6b0ee3995bb01029d561c4cf7eed981a303
Diffstat (limited to 'mailbox/CMakeLists.txt')
-rw-r--r-- | mailbox/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mailbox/CMakeLists.txt b/mailbox/CMakeLists.txt index ac91374..1728b4e 100644 --- a/mailbox/CMakeLists.txt +++ b/mailbox/CMakeLists.txt @@ -40,7 +40,7 @@ list(TRANSFORM OBJ PREPEND ${CMAKE_CURRENT_SOURCE_DIR}/) add_custom_target(mailbox-module ALL COMMAND ${CMAKE_MAKE_PROGRAM} -C ${KDIR} M=${CMAKE_CURRENT_SOURCE_DIR} CONFIG_ARM_MHU_V2=m CONFIG_ARM_MHU=m - CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 modules + CROSS_COMPILE=${CROSS_COMPILE} ARCH=${ARCH} modules BYPRODUCTS ${CMAKE_CURRENT_SOURCE_DIR}/arm_mhu.ko ${CMAKE_CURRENT_SOURCE_DIR}/arm_mhu.o @@ -57,3 +57,4 @@ add_custom_target(mailbox-module ALL COMMENT "Building arm_mhu.ko arm_mhu_v2.ko" VERBATIM) +install(FILES arm_mhu.ko arm_mhu_v2.ko DESTINATION "modules")
\ No newline at end of file |