removes unused build components
This commit is contained in:
parent
427f8e8b0b
commit
3b95d0a7cd
30
env/iss/CMakeLists.txt
vendored
30
env/iss/CMakeLists.txt
vendored
@ -1,30 +0,0 @@
|
|||||||
#cmake_minimum_required(VERSION 3.12)
|
|
||||||
project(iss)
|
|
||||||
message(STATUS " here in iss")
|
|
||||||
|
|
||||||
# Create library for ISS board support
|
|
||||||
add_library(board_iss STATIC
|
|
||||||
init.c
|
|
||||||
write.c
|
|
||||||
)
|
|
||||||
|
|
||||||
# Include directories
|
|
||||||
target_include_directories(board_iss PUBLIC
|
|
||||||
${BSP_BASE}/include
|
|
||||||
${BSP_BASE}/env
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
|
||||||
)
|
|
||||||
|
|
||||||
# Set compile options
|
|
||||||
target_compile_options(board_iss PRIVATE
|
|
||||||
-march=${RISCV_ARCH}_zicsr_zifencei
|
|
||||||
-mabi=${RISCV_ABI}
|
|
||||||
-mcmodel=medany
|
|
||||||
-ffunction-sections
|
|
||||||
-fdata-sections
|
|
||||||
)
|
|
||||||
|
|
||||||
# Add compile definitions
|
|
||||||
target_compile_definitions(board_iss PRIVATE
|
|
||||||
BOARD_${BOARD}
|
|
||||||
)
|
|
Loading…
x
Reference in New Issue
Block a user