Skip to content

Commit f759e92

Browse files
committed
SWPROT-8953: build: Install artifacts to dist
Origin: SiliconLabs/UnifySDK#50 Forwarded: #4 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent ae3f273 commit f759e92

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

helper.mk

+6-1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,11 @@ test: ${build_dir}
159159

160160
check: test
161161

162+
dist: ${build_dir}
163+
cmake --build $< --target package
164+
install -d $</$@
165+
cp -av ${<}/*.deb $</$@
166+
162167
distclean:
163168
rm -rf ${build_dir}
164169

@@ -176,7 +181,7 @@ zpc/build: zpc/configure build
176181
zpc/test: ${build_dir}/applications/zpc/components/zwave_command_classes/test/
177182
ctest --test-dir ${<}
178183

179-
zpc/default: zpc/configure zpc/build zpc/test
184+
zpc/default: zpc/configure zpc/build zpc/test dist
180185
@date -u
181186

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

0 commit comments

Comments
 (0)