33#  ex: set tabstop=4 noexpandtab:
44#  -*- coding: utf-8 -*
55
6- SELF? =${CURDIR}/helper.mk
7- 
8- default : help
6+ default : help all
97	@date
108
9+ SELF? =${CURDIR}/helper.mk
10+ sudo? =sudo
1111build_dir? =build
1212
1313SKIP_TESTING? =OFF
@@ -30,15 +30,14 @@ zpc_rf_region?=EU
3030target_os? =linux
3131cargo_target? =x86_64-unknown-linux-gnu
3232
33- prep_files+ =${CURDIR}/components/testframework/libs/testframework/CMakeLists.txt
34- 
3533sudo? =sudo
3634
37- help : ${SELF}
38- 	grep -o ' ^[^ ]*:' ${SELF}  |  grep -v ' \$$' |  grep -v ' ^#' 
39- 	@echo " # PATH=${PATH} " 
40- 	@echo " # zpc_serial=${zpc_serial} " 
41- 	@echo " # zpc_db=${zpc_db} " 
35+ help : ${SELF} README.md
36+ 	@cat README.md
37+ 	@echo " # Available rules at your own risk" 
38+ 	@echo " " 
39+ 	@grep -o ' ^[^ ]*:' ${SELF}  |  grep -v ' \$$' |  grep -v ' ^#' |  grep -v ' ^\.' 
40+ # 	@echo "# PATH=${PATH}"
4241
4342setup/debian : docker/target_dependencies.apt
4443	${sudo}  apt-get install -y apt-utils
@@ -51,8 +50,6 @@ setup/debian: docker/target_dependencies.apt
5150	${sudo}  apt-get install -y mosquitto  mosquitto-clients
5251# 	${sudo} apt install -y \ 
5352#		libyaml-cpp-dev 
54- #  Optional
55- 	${sudo} apt-get install -y	nmap
5653
5754setup/debian/11 : setup/debian
5855	${sudo}  apt-get install -y python-is-python3 python3-pip pipx
@@ -82,17 +79,6 @@ setup/silabs: docker/uic-resources/linux/slc_cli_linux.zip
8279setup : setup/debian setup/python setup/silabs setup/debian/silabs
8380	date
8481
85- ${prep_files} : .gitmodules
86- 	git lfs version
87- 	git lfs status --porcelain
88- 	git lfs pull
89- 	git lfs update
90- 	time  git submodule update --recursive --init
91- 	ls $@ 
92- 
93- prep  git : ${prep_files}
94- 	ls $^ 
95- 
9682configure : ${build_dir}/CMakeCache.txt
9783	ls $< 
9884
@@ -185,7 +171,7 @@ ${build_dir}/applications/zpc/zpc: build
185171run : run/zpc
186172	date
187173
188- docker/build : Dockerfile git 
174+ docker/build : Dockerfile
189175	docker build . 
190176
191177clean :
@@ -360,7 +346,6 @@ run/silink: resources/silink/silink unify_portable_cli
360346	${<D} /${<F}  -help
361347	${<D} /${<F}  -list
362348
363- 
364349cmake_release_options?=-DCMAKE_BUILD_TYPE =Release
365350cmake_release_options+=-DBUILD_OTBR =OFF
366351cmake_release_options+=-DBUILD_ZIGBEED =OFF
@@ -370,4 +355,3 @@ release: prep prep/libs2
370355	mkdir -p ${build_dir} 
371356	cmake ${cmake_release_options}  -B ${build_dir}  -GNinja 
372357	cmake --build ${build_dir} 
373- 
0 commit comments