aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/usrp2p/bootloader/CMakeLists.txt
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2011-04-22 11:28:27 -0700
committerNick Foster <nick@nerdnetworks.org>2011-04-22 11:28:27 -0700
commit361300327fceb20a5256cc9c5e5c6096cdbcd014 (patch)
treed740ba064a1e42b2057484bcc325e9c045cc1fa3 /firmware/zpu/usrp2p/bootloader/CMakeLists.txt
parent3dd74062fc6cfad68a62faac6669bada96f3aecf (diff)
downloaduhd-361300327fceb20a5256cc9c5e5c6096cdbcd014.tar.gz
uhd-361300327fceb20a5256cc9c5e5c6096cdbcd014.tar.bz2
uhd-361300327fceb20a5256cc9c5e5c6096cdbcd014.zip
N210: TXRX_UHD now has bootloader #ifdef'ed into it. Safe firmware now embedded into FPGA bootloader.
Also did some cleanup of unused source files and consolidated bootloader stuff into bootloader_utils.
Diffstat (limited to 'firmware/zpu/usrp2p/bootloader/CMakeLists.txt')
-rw-r--r--firmware/zpu/usrp2p/bootloader/CMakeLists.txt10
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)