nss: fix compilation with QUILT
Commit657574f45
disabled building the host nsinstall program when using QUILT. However, the host nsinstall is needed to compile the package, breaking compilation with QUILT. Move the native compile to Build/Configure, which will not be called for prepare, refresh, or update targets, but will be called before Build/Compile. nss does not have a configure script, so Build/Configure/Default is not being called. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> (cherry picked from commitfbed6751b0
)
This commit is contained in:
parent
311ab91528
commit
d6942bd8a4
1 changed files with 2 additions and 5 deletions
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=nss
|
||||
PKG_VERSION:=3.61
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:= \
|
||||
|
@ -91,13 +91,10 @@ MAKE_FLAGS += \
|
|||
OS_REL_CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
#native compile nsinstall
|
||||
define Build/Prepare
|
||||
$(call Build/Prepare/Default)
|
||||
ifeq ($(QUILT),)
|
||||
define Build/Configure
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue