From 3408041113839c74a6eba55ecbae92dc8fb79c26 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 1 Sep 2011 18:36:16 -0700 Subject: e110: added support to images Makefile --- images/Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'images') diff --git a/images/Makefile b/images/Makefile index b8361addc..284fc302a 100644 --- a/images/Makefile +++ b/images/Makefile @@ -248,12 +248,28 @@ _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 ######################################################################## -- cgit v1.2.3