From 09de28090cfb3fb605e6f4b452503a4ec2c6c43f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 6 Jun 2021 14:24:43 -0700 Subject: package: fix cmake packages build with ninja += is needed for CMAKE_OPTIONS. mt76 needs Ninja disabled as the kernel stuff uses normal make. Signed-off-by: Rosen Penev --- package/system/ubus/Makefile | 2 +- package/system/uci/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/system') diff --git a/package/system/ubus/Makefile b/package/system/ubus/Makefile index 885307107b..a29521e9a5 100644 --- a/package/system/ubus/Makefile +++ b/package/system/ubus/Makefile @@ -53,7 +53,7 @@ endef TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include -flto TARGET_LDFLAGS += -flto -CMAKE_OPTIONS = \ +CMAKE_OPTIONS += \ -DLUAPATH=/usr/lib/lua \ -DABIVERSION="$(PKG_ABI_VERSION)" diff --git a/package/system/uci/Makefile b/package/system/uci/Makefile index 3c1e168717..cdb6883bc1 100644 --- a/package/system/uci/Makefile +++ b/package/system/uci/Makefile @@ -55,7 +55,7 @@ endef TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib -CMAKE_OPTIONS = \ +CMAKE_OPTIONS += \ -DLUAPATH=/usr/lib/lua \ $(if $(DEBUG),-DUCI_DEBUG=ON) -- cgit v1.2.3