From c8dd5f0375992654814451591e97c0bab937f1a9 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 26 Oct 2020 11:20:41 +0100 Subject: Remove static generation of LTP configuration header This patch removes the static generation of the LTP configuration header done by CMake. The static generation is replaced with a fixed header (no CMake template anymore) which includes the dynamic generated xloop version header to define version number macros for LTP. --- src/kernel/tests/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/kernel/tests/CMakeLists.txt') diff --git a/src/kernel/tests/CMakeLists.txt b/src/kernel/tests/CMakeLists.txt index e93ff9d..201abcb 100644 --- a/src/kernel/tests/CMakeLists.txt +++ b/src/kernel/tests/CMakeLists.txt @@ -4,11 +4,9 @@ project(xloop-kernel-test) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/old) -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) -# configure configuration config.h and add it to the include directories -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) -include_directories(${CMAKE_CURRENT_BINARY_DIR}) +# include parent directory for the xloop's uapi +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) add_subdirectory(lib) add_subdirectory(testcases/kernel/syscalls/ioctl) -- cgit v1.2.3-55-g7522