aboutsummaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-23 13:59:23 -0800
committerJosh Blum <josh@joshknows.com>2010-11-23 13:59:23 -0800
commit92499bee52e77102612f3e3860ab60e0b84dacdb (patch)
tree35f26ae6e4503dd51f350339b36bbe48d316c47c /images/Makefile
parent18ce33d2286a428705bc19e5dc091f2d6a6d4d5b (diff)
downloaduhd-92499bee52e77102612f3e3860ab60e0b84dacdb.tar.gz
uhd-92499bee52e77102612f3e3860ab60e0b84dacdb.tar.bz2
uhd-92499bee52e77102612f3e3860ab60e0b84dacdb.zip
usrp-n210: added fpga build entry to images makefile
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/images/Makefile b/images/Makefile
index 34943cc59..5a2ac6303 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -78,7 +78,7 @@ $(_usrp1_fpga_4rx_rbf):
cp $(_usrp1_fpga_dir)/std_4rx_0tx.rbf $@
########################################################################
-# USRP2/2+ firmware
+# USRP2 and USRP-N2XX firmware
########################################################################
ifdef HAS_MB_GCC
@@ -114,6 +114,22 @@ $(_usrp2_fpga_bin):
endif
########################################################################
+# USRP-N210 fpga
+########################################################################
+ifdef HAS_XTCLSH
+
+_usrp_n210_fpga_dir = $(TOP_FPGA_DIR)/usrp2/top/u2plus
+_usrp_n210_fpga_bin = $(BUILT_IMAGES_DIR)/usrp_n210_fpga.bin
+IMAGES_LIST += $(_usrp_n210_fpga_bin)
+
+$(_usrp_n210_fpga_bin):
+ cd $(_usrp_n210_fpga_dir) && make clean
+ cd $(_usrp_n210_fpga_dir) && make bin
+ cp $(_usrp_n210_fpga_dir)/build/u2plus.bin $@
+
+endif
+
+########################################################################
# USRP-E100 fpga
########################################################################
ifdef HAS_XTCLSH