cryptodev-linux: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:07:20 +0000 (13:07 -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/cryptodev-linux/cryptodev-linux.mk

index d23b6474f8716ef33c91a428d250dda9e4e2f7e0..e23e1e3e3247ce13e6f50ae9cce8e27c567dcdf2 100644 (file)
@@ -13,7 +13,7 @@ CRYPTODEV_LINUX_LICENSE_FILES = COPYING
 CRYPTODEV_LINUX_PROVIDES = cryptodev
 
 define CRYPTODEV_LINUX_MODULE_GEN_VERSION_H
-       $(MAKE) -C $(@D) version.h
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) version.h
 endef
 CRYPTODEV_LINUX_PRE_BUILD_HOOKS += CRYPTODEV_LINUX_MODULE_GEN_VERSION_H