Conversion of BSP config files to pkg-config files

Vijay Kumar Banerjee vijaykumar9597 at
Thu Feb 28 20:31:54 UTC 2019

On Thu, 28 Feb 2019 at 03:37, Chris Johns <chrisj at> wrote:

> On 25/2/19 6:57 am, Vijay Kumar Banerjee wrote:
> > In an attempt to read all the files, I wrote a parser to try to put them
> > all in one place.
> Great.
> > I'm attaching the parser, the generated data and the list of files that
> > could not be parsed because they use `defines`.
> Yes this is where things get difficult.
> > Is this data any helpful?
> It is interesting. If a complete set can be captured we can move all the
> common
> options into a single place.
> > Is this the right way forward?
> I suspect it is or we run the risk of not seeing something if this is done
> by
> manually.
> On the issue of the defines:
> 1. Are the defines needed or could be these changed into something else and
> removed? I think this requires inspecting each one and deciding.
> it's defining bsp-post-link something like this ...

define bsp-post-link
    $(OBJCOPY) -O binary $@ $(basename $@)$(DOWNEXT)

can this be moved to some common cfg file somehow?

I have observed that the arm bsps are using .inc files and importing them
from the .cfg files.  Is there any reason that they're organized like that,
of directly writing it in the .cfg files ?

2 Does running `gmake -p` after a successful build of the BSP provide you
> with
> the missing details?
> Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list