mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-25 21:59:32 +00:00
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 <rosenp@gmail.com>
This commit is contained in:
parent
97258f5363
commit
09de28090c
@ -13,6 +13,7 @@ PKG_SOURCE_VERSION:=22b690334c0f49b11534cc2e331c9d5e17c4a0bc
|
|||||||
PKG_MIRROR_HASH:=ff5e563935919d2e40c1e7254ef3bc06f7ecc5e69f8ddd12903e8f5de942d630
|
PKG_MIRROR_HASH:=ff5e563935919d2e40c1e7254ef3bc06f7ecc5e69f8ddd12903e8f5de942d630
|
||||||
|
|
||||||
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
||||||
|
PKG_USE_NINJA:=0
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
|
@ -67,7 +67,7 @@ define Package/libubox-lua
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||||||
CMAKE_OPTIONS = \
|
CMAKE_OPTIONS += \
|
||||||
-DLUAPATH=/usr/lib/lua \
|
-DLUAPATH=/usr/lib/lua \
|
||||||
-DABIVERSION="$(PKG_ABI_VERSION)"
|
-DABIVERSION="$(PKG_ABI_VERSION)"
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ endif
|
|||||||
|
|
||||||
TARGET_LDFLAGS += -lcrypt
|
TARGET_LDFLAGS += -lcrypt
|
||||||
|
|
||||||
CMAKE_OPTIONS = -DTLS_SUPPORT=on
|
CMAKE_OPTIONS += -DTLS_SUPPORT=on
|
||||||
|
|
||||||
define Package/uhttpd/install
|
define Package/uhttpd/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
|
@ -53,7 +53,7 @@ endef
|
|||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include -flto
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include -flto
|
||||||
TARGET_LDFLAGS += -flto
|
TARGET_LDFLAGS += -flto
|
||||||
|
|
||||||
CMAKE_OPTIONS = \
|
CMAKE_OPTIONS += \
|
||||||
-DLUAPATH=/usr/lib/lua \
|
-DLUAPATH=/usr/lib/lua \
|
||||||
-DABIVERSION="$(PKG_ABI_VERSION)"
|
-DABIVERSION="$(PKG_ABI_VERSION)"
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ endef
|
|||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||||||
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib
|
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib
|
||||||
|
|
||||||
CMAKE_OPTIONS = \
|
CMAKE_OPTIONS += \
|
||||||
-DLUAPATH=/usr/lib/lua \
|
-DLUAPATH=/usr/lib/lua \
|
||||||
$(if $(DEBUG),-DUCI_DEBUG=ON)
|
$(if $(DEBUG),-DUCI_DEBUG=ON)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user