Skip to content

Commit

Permalink
Turn modpost errors into warnings, default changed between 6.1 and 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
srett committed Jan 16, 2024
1 parent 027b2fc commit bb0c9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Kernel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ macro(add_kernel_module MODULE_NAME KERNEL_BUILD_DIR KERNEL_INSTALL_DIR MODULE_M
-C ${KERNEL_BUILD_DIR}
M=${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME} modules
EXTRA_CFLAGS=${KERNEL_C_FLAGS}
KBUILD_MODPOST_WARN=1
KBUILD_EXTRA_SYMBOLS=${MODULE_EXTRA_SYMBOLS})
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}/${MODULE_NAME}.ko
COMMAND ${MODULE_BUILD_COMMAND}
Expand Down

0 comments on commit bb0c9fb

Please sign in to comment.