[oe] [PATCH] Add a waf bitbake class. (Koen Kooi)

AJ ONeal coolaj86 at gmail.com
Fri Jul 30 21:41:10 UTC 2010


Thanks for your help, I got it working.

http://blog.coolaj86.info/2010/07/26/WAF-on-OpenEmbedded

AJ ONeal

On Tue, Jul 27, 2010 at 10:44 AM, <Sean_Hudson at dell.com> wrote:

>  AJ,
>
>
>
>   Yes, by design, WAF is generally include with the source code.  (see
> this link<http://freehackers.org/~tnagy/wafbook/index.html#_installing_waf_on_a_system>for reference) There is no specification to WAF to cross compile, rather, it
> will pick up the environment from the OE shell and act accordingly.  One
> additional thought, in order to get the example binary into the package
> correctly, don’t forget to add a FILES_${PN} directive to your OE recipe.
>
>
>
>   Hope this helps!
>
>
>
>     -Sean
>
>
>
> *From:* AJ ONeal [mailto:coolaj86 at gmail.com]
> *Sent:* Monday, July 26, 2010 11:12 PM
>
> *To:* Hudson, Sean
> *Subject:* Re: [oe] [PATCH] Add a waf bitbake class. (Koen Kooi)
>
>
>
> I'm trying to get a Hello World example together using bitbake and WAF
>
>
>
> http://blog.coolaj86.info/2010/07/26/WAF-on-OpenEmbedded
>
>
>
> Will you please help me complete this?
>
>
>
> Is WAF supposed to be packaged with the source code?
>
> How do we specify that WAF should cross compile rather than regular
> compile?
>
>
>
> Thanks,
>
>
>
> AJ ONeal
>
> On Thu, Jul 8, 2010 at 1:15 PM, <Sean_Hudson at dell.com> wrote:
>
> It's quite simple.  In the recipe, inherit from the waf class, and you're
> good to go.  One caveat, I didn't see this pulled into OE by one of the
> committers, so be aware that it is not available other than through the
> mailing list...
>
> Sample recipe using the waf class...
>        DESCRIPTION = "foo"
>        LICENSE = "GPL"
>        SRC_URI = ""
>        S = "${WORKDIR}/trunk"
>
>        inherit waf
>
> From: AJ ONeal [mailto:coolaj86 at gmail.com]
> Sent: Thursday, July 08, 2010 12:42 AM
> To: Hudson, Sean
> Subject: Re: [oe] [PATCH] Add a waf bitbake class. (Koen Kooi)
>
>
> How would I use this patch with something like Node.js, which using waf for
> compiling?
>
> Do you have any sample .bb files that show how this is done? Or any
> documentation?
>
> AJ ONeal
>
>
>



More information about the Openembedded-devel mailing list