This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: how to control header file inclusion ?
> Probably I could not convey my problem. I want to
> export header files but only if needed. Say if a
> module in my source is selected by configtool then
> only it's headers should be exported otherwise not.
> Can I do this?
I don't think you can.
What you need to do is split your code up into a number of separate
packages. Each package can then be enabled/disabled as needed so
exporting/not exporting its header files as needed.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss