summaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'images/Makefile')
-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)