summaryrefslogtreecommitdiff
path: root/package/pkg-waf.mk
AgeCommit message (Collapse)Author
2016-12-11pkg-waf: add a common variable for each stepRomain Naour
Some waf packages may want to pass additional variables to waf script for each build step. Add the possibility to do so by defining <pkg>_WAF_OPTS. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-11pkg-waf: add additional variables for build stepRomain Naour
Some waf packages may want to pass additional variables to waf script in build step. Add the possibility to do so by defining <pkg>_BUILD_OPTS. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-11pkg-waf: add additional variables for each install stepRomain Naour
Some waf packages may want to pass additional variables to waf script in install step. Add the possibility to do so by defining the following variables: <pkg>_INSTALL_STAGING_OPTS for the install to staging directory <pkg>_INSTALL_TARGET_OPTS for the install to target directory Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-02core: add waf-package infraYann E. MORIN
This new waf-package infrastructure simplifies writing waf-based packages. It can be used by our six current such packages, plus a later-incoming one by Romain. 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> Tested-by: Romain Naour <romain.naour@gmail.com> [Thomas: - rename <pkg>_BUNDLED_WAF to <pkg>_NEEDS_EXTERNAL_WAF, which involves inverting the meaning of the boolean. - always add the host-python dependency - add a default value for <pkg>_NEEDS_EXTERNAL_WAF (defaults to NO) - remove the unneeded <pkg>_MAKE related definitions.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>