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