149246d0ca
The infrastructure only provides HOST_WAF_DL_DIR, because this package is host only. Ideally the infra should provide WAF_DL_DIR, but it doesn't currently, and that requires more significant changes. Fixes: http://autobuild.buildroot.org/results/01d8c21df4baa9ecc6a0e45744fe6a4d086a0652/ Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
20 lines
481 B
Makefile
20 lines
481 B
Makefile
################################################################################
|
|
#
|
|
# waf
|
|
#
|
|
################################################################################
|
|
|
|
WAF_VERSION = 1.9.5
|
|
WAF_SOURCE = waf-$(WAF_VERSION)
|
|
WAF_SITE = https://waf.io/
|
|
|
|
define HOST_WAF_EXTRACT_CMDS
|
|
$(INSTALL) -D -m 0755 $(HOST_WAF_DL_DIR)/waf-$(WAF_VERSION) $(@D)/waf
|
|
endef
|
|
|
|
define HOST_WAF_INSTALL_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/waf $(HOST_DIR)/bin/waf
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|