diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-25 11:50:55 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-25 11:50:55 -0700 |
commit | ed020d7698994070edd1d6f6584e90ea3df3e0b6 (patch) | |
tree | 1e7a7bc136d86769adcff3c1d970c40193fe3a64 /images | |
parent | b7f1b87f05aa3915097fd50251fe283d39b82af2 (diff) | |
download | uhd-ed020d7698994070edd1d6f6584e90ea3df3e0b6.tar.gz uhd-ed020d7698994070edd1d6f6584e90ea3df3e0b6.tar.bz2 uhd-ed020d7698994070edd1d6f6584e90ea3df3e0b6.zip |
uhd: added USRP-N200 build support to images Makefile
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/images/Makefile b/images/Makefile index cfc783ee4..652b127d8 100644 --- a/images/Makefile +++ b/images/Makefile @@ -90,16 +90,18 @@ ifdef HAS_ZPU_GCC _usrp2_fw_dir = $(TOP_FW_DIR)/zpu _usrp2_fw_bin = $(BUILT_IMAGES_DIR)/usrp2_fw.bin -_usrp_n2xx_fw_bin = $(BUILT_IMAGES_DIR)/usrp_n2xx_fw.bin -IMAGES_LIST += $(_usrp2_fw_bin) +_usrp_n200_fw_bin = $(BUILT_IMAGES_DIR)/usrp_n200_fw.bin +_usrp_n210_fw_bin = $(BUILT_IMAGES_DIR)/usrp_n210_fw.bin +IMAGES_LIST += $(_usrp2_fw_bin) $(_usrp_n200_fw_bin) $(_usrp_n210_fw_bin) -$(_usrp2_fw_bin) $(_usrp_n2xx_fw_bin): $(GLOBAL_DEPS) +$(_usrp2_fw_bin) $(_usrp_n200_fw_bin) $(_usrp_n210_fw_bin): $(GLOBAL_DEPS) cd $(_usrp2_fw_dir) && rm -rf build cd $(_usrp2_fw_dir) && mkdir build cd $(_usrp2_fw_dir)/build && cmake ../ cd $(_usrp2_fw_dir)/build && make cp $(_usrp2_fw_dir)/build/usrp2/usrp2_txrx_uhd.bin $(_usrp2_fw_bin) - cp $(_usrp2_fw_dir)/build/usrp2p/usrp2p_txrx_uhd.bin $(_usrp_n2xx_fw_bin) + cp $(_usrp2_fw_dir)/build/usrp2p/usrp2p_txrx_uhd.bin $(_usrp_n200_fw_bin) + cp $(_usrp2_fw_dir)/build/usrp2p/usrp2p_txrx_uhd.bin $(_usrp_n210_fw_bin) endif @@ -120,6 +122,22 @@ $(_usrp2_fpga_bin): $(GLOBAL_DEPS) endif ######################################################################## +# USRP-N200 fpga +######################################################################## +ifdef HAS_XTCLSH + +_usrp_n200_fpga_dir = $(TOP_FPGA_DIR)/usrp2/top/u2plus +_usrp_n200_fpga_bin = $(BUILT_IMAGES_DIR)/usrp_n200_fpga.bin +IMAGES_LIST += $(_usrp_n210_fpga_bin) + +$(_usrp_n200_fpga_bin): $(GLOBAL_DEPS) + cd $(_usrp_n200_fpga_dir) && make -f Makefile.N200 clean + cd $(_usrp_n200_fpga_dir) && make -f Makefile.N200 bin + cp $(_usrp_n200_fpga_dir)/build-N200/u2plus.bin $@ + +endif + +######################################################################## # USRP-N210 fpga ######################################################################## ifdef HAS_XTCLSH |