ed: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:05:53 +0000 (13:05 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
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>
package/ed/ed.mk

index f3bcb749b6ba814473d7c37db49768da564bbaf3..36f2f2ed299df2840caee2ac6968cf945258b1e0 100644 (file)
@@ -14,18 +14,18 @@ ED_LICENSE_FILES = COPYING
 
 define ED_CONFIGURE_CMDS
        (cd $(@D); \
-               ./configure \
+               $(TARGET_MAKE_ENV) ./configure \
                --prefix=/usr \
                $(TARGET_CONFIGURE_OPTS) \
        )
 endef
 
 define ED_BUILD_CMDS
-       $(MAKE) -C $(@D)
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
 endef
 
 define ED_INSTALL_TARGET_CMDS
-       $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
 endef
 
 $(eval $(generic-package))