diff options
Diffstat (limited to 'firmware/zpu/usrp2p/bootloader/CMakeLists.txt')
-rw-r--r-- | firmware/zpu/usrp2p/bootloader/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/zpu/usrp2p/bootloader/CMakeLists.txt b/firmware/zpu/usrp2p/bootloader/CMakeLists.txt index 51e06ff54..07f234302 100644 --- a/firmware/zpu/usrp2p/bootloader/CMakeLists.txt +++ b/firmware/zpu/usrp2p/bootloader/CMakeLists.txt @@ -33,8 +33,10 @@ MACRO(GEN_RMI target) ENDMACRO(GEN_RMI) ######################################################################## -ADD_EXECUTABLE(udp_bootloader.elf udp_bootloader.c) -TARGET_LINK_LIBRARIES(udp_bootloader.elf libusrp2pfw) +ADD_EXECUTABLE(bootloader.elf ${CMAKE_SOURCE_DIR}/apps/txrx_uhd.c) +ADD_DEFINITIONS(-DUSRP2P) +ADD_DEFINITIONS(-DBOOTLOADER) +TARGET_LINK_LIBRARIES(bootloader.elf libusrp2pfw) SET(GEN_OUTPUTS_BIN_SIZE 0x3fff) -GEN_OUTPUTS(udp_bootloader.elf) -GEN_RMI(udp_bootloader.bin) +GEN_OUTPUTS(bootloader.elf) +GEN_RMI(bootloader.bin) |