[chore] add ninja support

This commit is contained in:
jzlv 2022-12-01 15:16:30 +08:00
parent f7af90c996
commit 93116cbb91
3 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,6 @@ CMAKE = $(BL_SDK_BASE)/tools/cmake/bin/cmake
endif
# The command to remove a file.
RM = $(CMAKE) -E remove_directory
CPU_ID ?=
@ -33,11 +32,15 @@ build:Makefile
$(CMAKE) -S . -B build -G "Unix Makefiles" $(cmake_definition)
cd build && make -j4
ninja:Makefile
$(CMAKE) -S . -B build -G Ninja $(cmake_definition)
cd build && ninja
clean:
$(RM) build
menuconfig:
python ../../tools/kconfig/menuconfig.py
.PHONY:build clean menuconfig
.PHONY:build clean menuconfig ninja

BIN
tools/ninja/ninja Normal file

Binary file not shown.

BIN
tools/ninja/ninja.exe Normal file

Binary file not shown.