update kunity and update cmake

This commit is contained in:
stubbfel
2018-02-15 23:19:02 +01:00
parent 2ae0093171
commit da13097d85
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,9 @@ include("test/lib/KUnity/dev-utility/BuildKernelModule.cmake")
SET(module_name kunity_test_runner_module)
project (${module_name})
if(NOT KERNEL_DIR)
Set(KERNEL_DIR "/lib/modules/${CMAKE_SYSTEM_VERSION}/build" )
endif()
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic -Weverything")
file(GLOB module_src_files