File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ SELF?=${CURDIR}/helper.mk
1111
1212project? =unifysdk
1313
14+ # Allow overloading from env if needed
15+ BUILD_DEV_GUI? =OFF
16+
1417CMAKE_GENERATOR? =Ninja
1518export CMAKE_GENERATOR
1619
@@ -25,7 +28,6 @@ packages+=nlohmann-json3-dev
2528# TODO: remove for offline build
2629packages+ =curl wget python3-pip
2730packages+ =time
28- packages+ =yarnpkg
2931
3032rust_url? =https://sh.rustup.rs
3133RUST_VERSION? =1.65.0
@@ -34,10 +36,17 @@ export PATH := ${HOME}/.cargo/bin:${PATH}
3436zpc_exe? =${build_dir}/applications/zpc/zpc
3537exes+ =${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+
3746zpc_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 \
You can’t perform that action at this time.
0 commit comments