1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 11:53:59 +02:00

libs/nss: Don't run nsinstall with QUILT

Allows targets such as prepare, refresh, or update to be run without
building dependencies for easier patch maintenance.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
This commit is contained in:
Ilya Lipnitskiy 2021-02-03 21:01:25 -08:00
parent c01ce53579
commit 657574f45f
No known key found for this signature in database
GPG Key ID: 435C02AAE7CF2014

View File

@ -93,9 +93,11 @@ MAKE_FLAGS += \
#native compile nsinstall
define Build/Prepare
$(call Build/Prepare/Default)
ifeq ($(QUILT),)
USE_NATIVE=1 OS_REL_CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
CC="$(HOSTCC)" CPU_ARCH="$(HOST_ARCH)" \
$(MAKE) -C $(PKG_BUILD_DIR)/nss/coreconf/nsinstall
endif
endef
define Build/Compile