aufs-util: 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
23a9d0384a
commit
e799d1b0a7
@ -46,14 +46,14 @@ define AUFS_UTIL_BUILD_CMDS
|
|||||||
CPPFLAGS="$(AUFS_UTIL_HOST_CPPFLAGS)" \
|
CPPFLAGS="$(AUFS_UTIL_HOST_CPPFLAGS)" \
|
||||||
HOSTCC="$(HOSTCC)" HOSTLD="$(HOSTLD)" \
|
HOSTCC="$(HOSTCC)" HOSTLD="$(HOSTLD)" \
|
||||||
INSTALL="$(INSTALL)" c2sh c2tmac
|
INSTALL="$(INSTALL)" c2sh c2tmac
|
||||||
$(MAKE1) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CPPFLAGS="$(AUFS_UTIL_CPPFLAGS)" \
|
CPPFLAGS="$(AUFS_UTIL_CPPFLAGS)" \
|
||||||
INSTALL="$(INSTALL)" all
|
INSTALL="$(INSTALL)" all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define AUFS_UTIL_INSTALL_TARGET_CMDS
|
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
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user