mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
ninja: use for CMake
CMake supports Ninja for faster compilation and less bugginess when it comes to parallel compilation. That is, some CMake packages currently have PKG_BUILD_PARALLEL set where it is not needed with ninja. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
# $(call Ninja,-C $(MY_NINJA_BUILD_DIR),$(MY_NINJA_ENV_VARS))
|
||||
# endef
|
||||
|
||||
HOST_BUILD_DEPENDS += ninka/host
|
||||
PKG_BUILD_DEPENDS += ninja/host
|
||||
|
||||
NINJA_ARGS:=$(filter -j%,$(filter-out -j,$(MAKEFLAGS)))
|
||||
ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
|
||||
NINJA_ARGS+=-v
|
||||
|
||||
Reference in New Issue
Block a user