aboutsummaryrefslogtreecommitdiffstats
path: root/images/Makefile
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-09 18:38:39 -0800
committerJosh Blum <josh@joshknows.com>2010-11-09 18:38:39 -0800
commit3bca8c492514564a065e34d3284cb468873fcc8c (patch)
tree73f11afc14eb62ac1c1ff5374dce9c3cb33c0278 /images/Makefile
parent073518083f2c7044d4b0c16948a192c5623d0752 (diff)
parentc0dfc2cf47b98734c4218427c7c6f5eb92025a9c (diff)
downloaduhd-3bca8c492514564a065e34d3284cb468873fcc8c.tar.gz
uhd-3bca8c492514564a065e34d3284cb468873fcc8c.tar.bz2
uhd-3bca8c492514564a065e34d3284cb468873fcc8c.zip
Merge branch 'master' into usrp_e_next
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/images/Makefile b/images/Makefile
index 92379271d..559245e85 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -55,11 +55,11 @@ _usrp1_fw_ihx = $(BUILT_IMAGES_DIR)/usrp1_fw.ihx
IMAGES_LIST += $(_usrp1_fw_ihx)
$(_usrp1_fw_ihx):
- cd $(_usrp1_fw_dir) && ./bootstrap
- cd $(_usrp1_fw_dir) && ./configure
- make -C $(_usrp1_fw_dir) clean
- make -C $(_usrp1_fw_dir) all
- cp $(_usrp1_fw_dir)/src/usrp1/std.ihx $@
+ cd $(_usrp1_fw_dir) && rm -rf build
+ cd $(_usrp1_fw_dir) && mkdir build
+ cd $(_usrp1_fw_dir)/build && cmake ../
+ cd $(_usrp1_fw_dir)/build && make
+ cp $(_usrp1_fw_dir)/build/usrp1/usrp1_fw.ihx $@
endif
@@ -135,6 +135,7 @@ $(BUILT_IMAGES_DIR):
mkdir $@
images: $(BUILT_IMAGES_DIR) $(IMAGES_LIST)
+ chmod -x $(BUILT_IMAGES_DIR)/*
clean:
$(RM) -rf $(BUILT_IMAGES_DIR)