cryptodev-linux: 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
b1d218b744
commit
4b7a1de720
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue