From fc349d30507620baca935e75e68a9554b40d427c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 29 Jul 2011 11:13:24 -0700 Subject: uhd: added print constraints to makefile, and used directory variable --- images/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/images/Makefile b/images/Makefile index f0a656d0d..b8361addc 100644 --- a/images/Makefile +++ b/images/Makefile @@ -259,12 +259,13 @@ endif ######################################################################## images: $(IMAGES_LIST) find $(BUILT_IMAGES_DIR) -type f | xargs chmod -x + find $(TOP_FPGA_DIR) -name "*.twr" | xargs grep constraint | grep met package: - mkdir -p build - cd build && cmake -DUHD_RELEASE_MODE=OFF .. - cd build && cmake -DCPACK_GENERATOR=TGZ .. && make package - cd build && cmake -DCPACK_GENERATOR=ZIP .. && make package + mkdir -p $(CMAKE_BUILD_DIR) + cd $(CMAKE_BUILD_DIR) && cmake -DUHD_RELEASE_MODE=OFF .. + cd $(CMAKE_BUILD_DIR) && cmake -DCPACK_GENERATOR=TGZ .. && make package + cd $(CMAKE_BUILD_DIR) && cmake -DCPACK_GENERATOR=ZIP .. && make package clean: $(RM) -rf $(BUILT_IMAGES_DIR) -- cgit v1.2.3