aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-27 11:42:52 -0700
committerJosh Blum <josh@joshknows.com>2010-10-27 11:42:52 -0700
commit9585a0b6fd88efd2a8bd43c8b034ae21264b9fc4 (patch)
tree1fa72e9f0b8393f04a9fe616be3a8422f62b6451
parentcfde84d8a1f2e9fc76e9d5c80f8f4aa571fa04a7 (diff)
downloaduhd-9585a0b6fd88efd2a8bd43c8b034ae21264b9fc4.tar.gz
uhd-9585a0b6fd88efd2a8bd43c8b034ae21264b9fc4.tar.bz2
uhd-9585a0b6fd88efd2a8bd43c8b034ae21264b9fc4.zip
usrp_e: added support for building fpga image into images Makefile
-rw-r--r--images/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index 57277e787..92379271d 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -112,6 +112,22 @@ $(_usrp2_fpga_bin):
endif
########################################################################
+# USRP-E100 fpga
+########################################################################
+ifdef HAS_XTCLSH
+
+_usrp_e100_fpga_dir = $(TOP_FPGA_DIR)/usrp2/top/u1e
+_usrp_e100_fpga_bin = $(BUILT_IMAGES_DIR)/usrp_e100_fpga.bin
+IMAGES_LIST += $(_usrp_e100_fpga_bin)
+
+$(_usrp_e100_fpga_bin):
+ cd $(_usrp_e100_fpga_dir) && make clean
+ cd $(_usrp_e100_fpga_dir) && make bin
+ cp $(_usrp_e100_fpga_dir)/build/u1e.bin $@
+
+endif
+
+########################################################################
# Build rules
########################################################################
##little rule to make the images directory