From 04edb8016975d927e470006daa8080af09aa4e96 Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Thu, 29 Aug 2024 13:08:46 +0200 Subject: [PATCH] Drivers: fix cpuid kernel module build on ARM --- drivers/arm/linux/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/arm/linux/CMakeLists.txt b/drivers/arm/linux/CMakeLists.txt index 2025d0d..72c7357 100644 --- a/drivers/arm/linux/CMakeLists.txt +++ b/drivers/arm/linux/CMakeLists.txt @@ -28,6 +28,7 @@ else(LIBCPUID_DRIVER_ARM_LINUX_DKMS) set(DRIVER_MODULE "${DRIVER_NAME}.ko") set(KBUILD_CMD "${CMAKE_MAKE_PROGRAM}" EXTRA_CFLAGS="-I${CMAKE_SOURCE_DIR}/libcpuid" -C "${KERNELHEADERS_DIR}" "src=${CMAKE_CURRENT_SOURCE_DIR}" "M=${CMAKE_CURRENT_BINARY_DIR}") + configure_file(Makefile.in "${CMAKE_CURRENT_SOURCE_DIR}/Makefile") add_custom_command(OUTPUT "${DRIVER_MODULE}" COMMAND ${KBUILD_CMD} modules WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"