summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-03 11:20:37 -0800
committerJosh Blum <josh@joshknows.com>2011-02-03 11:20:37 -0800
commit5b4d90582d827d7ba2483d7916b2f0400a5bd9fa (patch)
tree6c0acaac25265b07ae913e752f0fdd84d695fe76 /images
parentd27817a7ade49e74d29bf20a8ffa3ee35cbfe7ea (diff)
downloaduhd-5b4d90582d827d7ba2483d7916b2f0400a5bd9fa.tar.gz
uhd-5b4d90582d827d7ba2483d7916b2f0400a5bd9fa.tar.bz2
uhd-5b4d90582d827d7ba2483d7916b2f0400a5bd9fa.zip
usrp-e100: added passthrough to images makefile, tweaks to usrp-e-utility
Diffstat (limited to 'images')
-rw-r--r--images/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index 34c18cdc2..cfc783ee4 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -152,6 +152,22 @@ $(_usrp_e100_fpga_bin): $(GLOBAL_DEPS)
endif
########################################################################
+# USRP-E100 pass-through fpga
+########################################################################
+ifdef HAS_XTCLSH
+
+_usrp_e100_pt_fpga_dir = $(TOP_FPGA_DIR)/usrp2/top/u1e_passthru
+_usrp_e100_pt_fpga_bin = $(BUILT_IMAGES_DIR)/usrp_e100_pt_fpga.bin
+IMAGES_LIST += $(_usrp_e100_pt_fpga_bin)
+
+$(_usrp_e100_pt_fpga_bin): $(GLOBAL_DEPS)
+ cd $(_usrp_e100_pt_fpga_dir) && make clean
+ cd $(_usrp_e100_pt_fpga_dir) && make bin
+ cp $(_usrp_e100_pt_fpga_dir)/build/passthru.bin $@
+
+endif
+
+########################################################################
# Build rules
########################################################################
images: $(IMAGES_LIST)