libs/nss: Don't run nsinstall with QUILT
authorIlya Lipnitskiy <redacted>
Thu, 4 Feb 2021 05:01:25 +0000 (21:01 -0800)
committerIlya Lipnitskiy <redacted>
Thu, 4 Feb 2021 05:01:25 +0000 (21:01 -0800)
Allows targets such as prepare, refresh, or update to be run without
building dependencies for easier patch maintenance.

Signed-off-by: Ilya Lipnitskiy <redacted>
libs/nss/Makefile

index 3ebc56ae34634ca9b9a2e45b528fb390f894e231..4eafd02d8e44d2d5a62a43350e045c3fad9994ce 100644 (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
git clone https://git.99rst.org/PROJECT