libbsd include path issue

Chris Johns chrisj at rtems.org
Mon Jul 24 22:16:19 UTC 2017


On 25/07/2017 03:09, Christian Mauderer wrote:
> Hm. It seems for me that the subst would substitute some text in a
> source file with some other text and generate a target from it. So that
> most likely could be a nice replacement for the network-config.h (which
> is just above my new rule and uses some sed magic) but it seems a little
> overkill for just copying files.
> 
> Maybe I also haven't found the right documentation for that to find the
> best function for it. The waf_generator.py generates the libbsd_waf.py.
> In that file, the build(bld) function is defined and we use the bld
> object to add some build rules (like my shell command to copy a file).
> But who calls the build() function and what type has the bld-object. Is
> there some API documentation for that object?
> 

I think this is the example:

https://github.com/waf-project/waf/blob/master/demos/subst/wscript#L33

Also Section 6.3.3 of the Waf Book ...

https://waf.io/book/#_buildcontext_specific_methods

Chris


More information about the devel mailing list