879136d4c7
host-waf will be used by waf-based packages that do not include it in their release tarballs, like mpv. mpv is currently the only case we have, but with the upcoming waf-package infra, having host-waf available just makes the infra complete from the onset. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@openwide.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> [Thomas: drop dependency on host-python, it's really a runtime dependency.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
476 B
Makefile
20 lines
476 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 $(DL_DIR)/waf-$(WAF_VERSION) $(@D)/waf
|
|
endef
|
|
|
|
define HOST_WAF_INSTALL_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/waf $(HOST_DIR)/usr/bin/waf
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|