1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-06-07 00:51:40 +00:00

Drivers: force 'make' for Makefile_kmod on FreeBSD

Ninja is not supported with Makefiles.
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2025-05-11 21:26:29 +02:00
parent 9decce5867
commit 5fb19a718b
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A

View file

@ -7,7 +7,7 @@ configure_file("${DRIVER_SOURCE}" "${CMAKE_CURRENT_BINARY_DIR}/${DRIVER_SOURCE}"
configure_file(Makefile.in "${CMAKE_CURRENT_BINARY_DIR}/Makefile_kmod")
add_custom_command(OUTPUT "${DRIVER_MODULE}"
COMMAND "${CMAKE_MAKE_PROGRAM}" -f Makefile_kmod
COMMAND make -f Makefile_kmod
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
DEPENDS "${DRIVER_SOURCE}"
COMMENT "Building CPUID kernel module for ARM..."