nanocom: 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-17 13:06:04 -03:00 committed by Thomas Petazzoni
parent 4d4c32bc9b
commit a3e496bcfb

View file

@ -12,7 +12,7 @@ NANOCOM_LICENSE = GPLv2+
NANOCOM_LICENSE_FILES = COPYING
define NANOCOM_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(@D)
endef
define NANOCOM_INSTALL_TARGET_CMDS