Skip to content

Commit ae3f273

Browse files
committed
SWPROT-8953: Disable DEV_GUI as not reproducible
I suspect a floating dep, it may be fixed in later when stable, ideally this should be located elsewhere to avoid breaking. The fix may be trivial, with npm audit: + "typescript": "4.7.4", + "react-router-dom": "5.3.3", But for history purposes we wont touch files that are not z-wave in this repo. Origin: SiliconLabs/UnifySDK#50 Forwarded: #3 Signed-off-by: Philippe Coval <[email protected]>
1 parent b5b0e7f commit ae3f273

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

helper.mk

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ SELF?=${CURDIR}/helper.mk
1111

1212
project?=unifysdk
1313

14+
# Allow overloading from env if needed
15+
BUILD_DEV_GUI?=OFF
16+
1417
CMAKE_GENERATOR?=Ninja
1518
export CMAKE_GENERATOR
1619

@@ -25,7 +28,6 @@ packages+=nlohmann-json3-dev
2528
# TODO: remove for offline build
2629
packages+=curl wget python3-pip
2730
packages+=time
28-
packages+=yarnpkg
2931

3032
rust_url?=https://sh.rustup.rs
3133
RUST_VERSION?=1.65.0
@@ -34,10 +36,17 @@ export PATH := ${HOME}/.cargo/bin:${PATH}
3436
zpc_exe?=${build_dir}/applications/zpc/zpc
3537
exes+=${zpc_exe}
3638

39+
# Allow overloading from env if needed
40+
ifeq (${BUILD_DEV_GUI}, ON)
41+
packages+=nodejs
42+
packages+=yarnpkg
43+
endif
44+
45+
3746
zpc_cmake_options?=\
3847
-DBUILD_AOXPC=OFF \
3948
-DBUILD_CPCD=OFF \
40-
-DBUILD_DEV_GUI=ON \
49+
-DBUILD_DEV_GUI=${BUILD_DEV_GUI} \
4150
-DBUILD_EMD=OFF \
4251
-DBUILD_EPC=OFF \
4352
-DBUILD_GMS=OFF \

0 commit comments

Comments
 (0)