wf111: 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:09 -03:00 committed by Thomas Petazzoni
parent 152e98ccab
commit d95db2098f

View file

@ -25,7 +25,7 @@ endif
# separately the build step and the install step and get a correct
# behavior. So we do everything in the install step.
define WF111_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) PWD=$(@D) \
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PWD=$(@D) \
$(LINUX_MAKE_FLAGS) KDIR=$(LINUX_DIR) \
OUTPUT=$(TARGET_DIR) install_static
endef