diff options
Diffstat (limited to 'images/Makefile')
-rw-r--r-- | images/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile index e1e533b12..f0a656d0d 100644 --- a/images/Makefile +++ b/images/Makefile @@ -260,6 +260,12 @@ endif images: $(IMAGES_LIST) find $(BUILT_IMAGES_DIR) -type f | xargs chmod -x +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 + clean: $(RM) -rf $(BUILT_IMAGES_DIR) $(RM) -rf $(CMAKE_BUILD_DIR) |