gadgetfs-test: 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
be4a6bb3a3
commit
a441c8ab4c
|
@ -15,11 +15,11 @@ GADGETFS_TEST_MAKEOPTS += USE_AIO=y
|
|||
endif
|
||||
|
||||
define GADGETFS_TEST_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS)
|
||||
endef
|
||||
|
||||
define GADGETFS_TEST_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in a new issue