[oe] [oe-commits] Philip Balister : i2c-tools : Stage i2c-dev.h header as i2c-dev-user.h.

Khem Raj raj.khem at gmail.com
Thu Dec 16 06:34:56 UTC 2010


On (15/12/10 14:15), Andreas Oberritter wrote:
> On 12/15/2010 01:45 PM, Philip Balister wrote:
> > On 12/15/2010 03:29 AM, Martin Jansa wrote:
> >> On Wed, Dec 15, 2010 at 09:16:04AM +0100, Koen Kooi wrote:
> >>> What are other distributions based on? Pixie dust?
> >>
> >> I meant distritubions where end-user normally gets only recipes how to
> >> build from source
> >> on his machine instead of installing prebuilt binary packages shipped
> >> by distribution.
> >>
> > I am not sure there is a lot od software that uses the problematic
> > header :)
> > 
> > Khem suggested we put the file in include/i2c-tools/i2c-dev.h. This
> > means programs that need the i2c-tools version can adjust the header
> > search path with a -I.
> 
> I think what Khem suggested was ${include}/i2c-tools/linux/i2c-dev.h,
> because otherwise programs including <linux/i2c-dev.h> would still pick
> up the kernel header, even if -I${include}/i2c-tools was prepended to
> the program's CPPFLAGS.

Yes. that would be ok too. However I think it will be better to
differentiate here in source code. and I would expecte the inclusion
of linux/i2c-dev.h to change to i2c-tools/i2c-dev.h that would make
it more clear that a given package does not use linux provided header

> 
> Regards,
> Andreas
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list