aboutsummaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-09-01 18:36:16 -0700
committerJosh Blum <josh@joshknows.com>2011-09-01 18:36:16 -0700
commit3408041113839c74a6eba55ecbae92dc8fb79c26 (patch)
tree01378a2ee554b7d5f596b884d5b0f60fc6f490d9 /images
parent42676ffa1cd0bc395b0817350fb7d6526165489c (diff)
downloaduhd-3408041113839c74a6eba55ecbae92dc8fb79c26.tar.gz
uhd-3408041113839c74a6eba55ecbae92dc8fb79c26.tar.bz2
uhd-3408041113839c74a6eba55ecbae92dc8fb79c26.zip
e110: added support to images Makefile
Diffstat (limited to 'images')
-rw-r--r--images/Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/images/Makefile b/images/Makefile
index b8361addc..284fc302a 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -248,13 +248,29 @@ _usrp_e100_fpga_bin = $(BUILT_IMAGES_DIR)/usrp_e100_fpga_v2.bin
IMAGES_LIST += $(_usrp_e100_fpga_bin)
$(_usrp_e100_fpga_bin): $(GLOBAL_DEPS)
- cd $(_usrp_e100_fpga_dir) && make clean
- cd $(_usrp_e100_fpga_dir) && make bin
+ cd $(_usrp_e100_fpga_dir) && make -f Makefile.E100 clean
+ cd $(_usrp_e100_fpga_dir) && make -f Makefile.E100 bin
cp $(_usrp_e100_fpga_dir)/build/u1e.bin $@
endif
########################################################################
+# USRP-E110 fpga
+########################################################################
+ifdef HAS_XTCLSH
+
+_usrp_e110_fpga_dir = $(TOP_FPGA_DIR)/usrp2/top/E1x0
+_usrp_e110_fpga_bin = $(BUILT_IMAGES_DIR)/usrp_e110_fpga.bin
+IMAGES_LIST += $(_usrp_e110_fpga_bin)
+
+$(_usrp_e110_fpga_bin): $(GLOBAL_DEPS)
+ cd $(_usrp_e110_fpga_dir) && make -f Makefile.E110 clean
+ cd $(_usrp_e110_fpga_dir) && make -f Makefile.E110 bin
+ cp $(_usrp_e110_fpga_dir)/build/u1e.bin $@
+
+endif
+
+########################################################################
# Build rules
########################################################################
images: $(IMAGES_LIST)