wireless_tools: 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
c60b11f00e
commit
4dac7ee6b4
@ -20,20 +20,20 @@ WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION_MAJOR)
|
||||
WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
|
||||
|
||||
define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" LDCONFIG=/bin/true \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" LDCONFIG=/bin/true \
|
||||
install-dynamic
|
||||
$(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
|
||||
endef
|
||||
|
||||
endif
|
||||
|
||||
define WIRELESS_TOOLS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
||||
$(WIRELESS_TOOLS_BUILD_TARGETS)
|
||||
endef
|
||||
|
||||
define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" LDCONFIG=/bin/true \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" LDCONFIG=/bin/true \
|
||||
$(WIRELESS_TOOLS_INSTALL_TARGETS)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user