ezxml: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Fri, 28 Oct 2016 17:55:39 +0000 (14:55 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Oct 2016 13:42:09 +0000 (15:42 +0200)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ezxml/ezxml.mk

index 769346605dad430511d3fc7466d6099a42d6a536..a806e566edb78a51d1b8521640b1f4e5cf512454 100644 (file)
@@ -11,8 +11,8 @@ EZXML_LICENSE = MIT
 EZXML_LICENSE_FILES = license.txt
 
 define EZXML_BUILD_CMDS
-       $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" AR=$(TARGET_AR) \
-       -f GNUmakefile -C $(@D)
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f GNUmakefile \
+               CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" AR=$(TARGET_AR)
 endef
 
 define EZXML_INSTALL_STAGING_CMDS