memstat: 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:
parent
0547150d91
commit
bf26361928
@ -11,7 +11,7 @@ MEMSTAT_LICENSE = GPL
|
||||
MEMSTAT_LICENSE_FILES = debian/copyright
|
||||
|
||||
define MEMSTAT_BUILD_CMDS
|
||||
$(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" CFLAGS="$(TARGET_CFLAGS)" \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" CFLAGS="$(TARGET_CFLAGS)" \
|
||||
-C $(@D) memstat
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user