mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user