fmlib: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Fri, 28 Oct 2016 13:18:28 +0000 (10:18 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Oct 2016 13:54:30 +0000 (15:54 +0200)
And drop FMLIB_MAKE_ENV which is non-existant as pointed by Arnout.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/fmlib/fmlib.mk

index 42cdc2777335db24b48139686c8acf29ade6e27c..16e817699e7b23d5b15cd767cbe3ed74403d816d 100644 (file)
@@ -31,7 +31,7 @@ endef
 
 define FMLIB_INSTALL_STAGING_CMDS
        $(RM) $(STAGING_DIR)/usr/lib/libfm.a
-       $(FMLIB_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) install-libfm-$(FMLIB_ARCHTYPE)
+       $(TARGET_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) install-libfm-$(FMLIB_ARCHTYPE)
 endef
 
 $(eval $(generic-package))