xinyangli
b403f8a40b
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 17s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 8s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 7s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 12s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 10s
12 lines
407 B
CMake
12 lines
407 B
CMake
set(NEMU_COMPILE_OPTIONS -fdata-sections -ffunction-sections)
|
|
set(NEMU_LINK_OPTIONS
|
|
-nostartfiles
|
|
-nolibc
|
|
--defsym=_pmem_start=0x80000000
|
|
--defsym=_entry_offset=0x0
|
|
--gc-sections
|
|
-e
|
|
_start)
|
|
set(NEMU_INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/am/src/platform/nemu/include)
|
|
file(GLOB_RECURSE NEMU_SOURCES ${CMAKE_SOURCE_DIR}/am/src/platform/nemu/*.[cS])
|
|
set(INCLUDE_LINKER_SCRIPT ON)
|