Skip to content

Commit 9dea854

Browse files
committed
UIC-3082: build: Install artifacts to dist
Origin: SiliconLabs/UnifySDK#50 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent 18f8139 commit 9dea854

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

helper.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ test: ${build_dir}
149149

150150
check: test
151151

152+
dist: ${build_dir}
153+
cmake --build $< --target package
154+
install -d $</$@
155+
cp -av ${<}/*.deb $</$@
156+
152157
distclean:
153158
rm -rf ${build_dir}
154159

@@ -166,7 +171,7 @@ zpc/build: zpc/configure build
166171
zpc/test: ${build_dir}/applications/zpc/components/zwave_command_classes/test/
167172
ctest --test-dir ${<}
168173

169-
zpc/default: zpc/configure zpc/build zpc/test
174+
zpc/default: zpc/configure zpc/build zpc/test dist
170175
@date -u
171176

172177
### @rootfs is faster than docker for env check

0 commit comments

Comments
 (0)