libnss: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-10-13 19:13:42 -03:00 committed by Thomas Petazzoni
parent 5b3fd59f45
commit 4c1ba21a74

View File

@ -45,12 +45,12 @@ endif
endif
define LIBNSS_BUILD_CMDS
$(MAKE1) -C $(@D)/nss coreconf \
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/nss coreconf \
SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
DIST=$(@D)/$(LIBNSS_DISTDIR) \
CHECKLOC= \
$(LIBNSS_BUILD_VARS)
$(MAKE1) -C $(@D)/nss lib/dbm all \
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/nss lib/dbm all \
SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
DIST=$(@D)/$(LIBNSS_DISTDIR) \
CHECKLOC= \