On 26/4/20 8:24 pm, Vijay Kumar Banerjee wrote:
After reading through the Waf book and some different trials, I came up
with a
nice one-line solution that works like a charm:
https://lists.rtems.org/pipermail/devel/2020-April/059556.html
Nice and thanks.
I used the find_or_declare function with it which returns a Node object
under the
source or build folders. If nothing is found, it creates the
corresponding node in
the build directory and the folder structure required for writing the
file during the
build phase. If the path is not under the build directory, then a fake
filesystem
structure is created for the output files. This makes the header
file searchable
after post_run, without the need to change the gccdeps.
Thank you for the explanation.
I have tested it and it works great. Please review the patch and let me
know if it's good to go.
Ok to push. Thanks.
Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel