[chore][makefile] fix build command
This commit is contained in:
parent
a12381870c
commit
c46a68feba
4
Makefile
4
Makefile
@ -47,11 +47,11 @@ cmake_definition+= -DCONFIG_HW_SEC_ENG_DISABLE=$(SUPPORT_HW_SEC_ENG_DISABLE)
|
|||||||
cmake_definition+= -DCONFIG_BLECONTROLLER_LIB=$(SUPPORT_BLECONTROLLER_LIB)
|
cmake_definition+= -DCONFIG_BLECONTROLLER_LIB=$(SUPPORT_BLECONTROLLER_LIB)
|
||||||
|
|
||||||
build:Makefile
|
build:Makefile
|
||||||
cmake -S . -B build -G "Unix Makefiles" $(cmake_definition) ..
|
cmake -S . -B build -G "Unix Makefiles" $(cmake_definition)
|
||||||
cd build && make -j4
|
cd build && make -j4
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Welcome to MCU SDK camke build system,commands are as follows:"
|
@echo "Welcome to MCU SDK cmake build system,commands are as follows:"
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "make clean - Remove all cmake caches and output files"
|
@echo "make clean - Remove all cmake caches and output files"
|
||||||
@echo "make SUPPORT_FLOAT=y - Enable float print"
|
@echo "make SUPPORT_FLOAT=y - Enable float print"
|
||||||
|
Reference in New Issue
Block a user