diff --git a/cmake/prebuild.cmake b/cmake/prebuild.cmake index a4faa131d..76f74e049 100644 --- a/cmake/prebuild.cmake +++ b/cmake/prebuild.cmake @@ -106,4 +106,8 @@ message(STATUS "GETARCH LOG: ${GETARCH_LOG}") # temporarily hardcoded to get system.cmake working set(NUM_CORES 4) set(CORE "GENERIC") +# TODO: this should be done by getarch! see above +file(APPEND ${TARGET_CONF} + "#define ${CORE}" +) diff --git a/driver/level2/CMakeLists.txt b/driver/level2/CMakeLists.txt index 8dc37a880..d06d03ccf 100644 --- a/driver/level2/CMakeLists.txt +++ b/driver/level2/CMakeLists.txt @@ -1,4 +1,6 @@ +include_directories(${CMAKE_SOURCE_DIR}) + # sources that need to be compiled twice, once with no flags and once with LOWER set(UL_SOURCES sbmv_k.c