From: Gustavo Zacarias Date: Thu, 13 Oct 2016 22:13:56 +0000 (-0300) Subject: aufs-util: use $(TARGET_MAKE_ENV) when calling $(MAKE) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e799d1b0a75ffe3ff4070957651d7fff2ce07d02;p=buildroot.git aufs-util: use $(TARGET_MAKE_ENV) when calling $(MAKE) Signed-off-by: Gustavo Zacarias Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index 0ea9ee5955..a2d0bad656 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -46,14 +46,14 @@ define AUFS_UTIL_BUILD_CMDS CPPFLAGS="$(AUFS_UTIL_HOST_CPPFLAGS)" \ HOSTCC="$(HOSTCC)" HOSTLD="$(HOSTLD)" \ INSTALL="$(INSTALL)" c2sh c2tmac - $(MAKE1) -C $(@D) \ + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \ $(TARGET_CONFIGURE_OPTS) \ CPPFLAGS="$(AUFS_UTIL_CPPFLAGS)" \ INSTALL="$(INSTALL)" all endef define AUFS_UTIL_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) INSTALL="$(INSTALL)" DESTDIR="$(TARGET_DIR)" install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) INSTALL="$(INSTALL)" DESTDIR="$(TARGET_DIR)" install endef $(eval $(generic-package))