$(2)_BUILD_OPTS ?=
$(2)_INSTALL_STAGING_OPTS ?=
$(2)_INSTALL_TARGET_OPTS ?=
+$(2)_WAF_OPTS ?=
#
# Configure step. Only define it if not already defined by the package
$$(HOST_DIR)/usr/bin/python2 $$($(2)_WAF) configure \
--prefix=/usr \
--libdir=/usr/lib \
- $$($(2)_CONF_OPTS)
+ $$($(2)_CONF_OPTS) \
+ $$($(2)_WAF_OPTS)
endef
endif
define $(2)_BUILD_CMDS
cd $$(@D) && \
$$(TARGET_MAKE_ENV) $$(HOST_DIR)/usr/bin/python2 $$($(2)_WAF) \
- build -j $$(PARALLEL_JOBS) $$($(2)_BUILD_OPTS)
+ build -j $$(PARALLEL_JOBS) $$($(2)_BUILD_OPTS) \
+ $$($(2)_WAF_OPTS)
endef
endif
cd $$(@D) && \
$$(TARGET_MAKE_ENV) $$(HOST_DIR)/usr/bin/python2 $$($(2)_WAF) \
install --destdir=$$(STAGING_DIR) \
- $$($(2)_INSTALL_STAGING_OPTS)
+ $$($(2)_INSTALL_STAGING_OPTS) \
+ $$($(2)_WAF_OPTS)
endef
endif
cd $$(@D) && \
$$(TARGET_MAKE_ENV) $$(HOST_DIR)/usr/bin/python2 $$($(2)_WAF) \
install --destdir=$$(TARGET_DIR) \
- $$($(2)_INSTALL_TARGET_OPTS)
+ $$($(2)_INSTALL_TARGET_OPTS) \
+ $$($(2)_WAF_OPTS)
endef
endif