[Buildroot] [PATCH] i2c-tools: install devt headers to staging dir
Peter Korsgaard
peter at korsgaard.com
Wed Sep 28 08:52:31 UTC 2016
>>>>> "Julien" == Julien Boibessot <julien.boibessot at free.fr> writes:
>>> Does the i2c-tools version of this file add anything important on top of
>>> the Linux headers? The i2c /dev interface afaik hasn't changed in MANY
>>> years.
>> The i2c-tools version of i2c-dev.h adds a number of convenient i2c_smbus_*()
>> routines, that wrap around the I2C_SMBUS ioctl.
> These i2c_smbus_*() routines are used by some userspace I2C drivers (not
> yet in BR), that's why I sent the patch to re-install i2c-dev.h
It is quite painful to have multiple incompatible versions of the same
header file, and i2c-tools imho shouldn't overwrite kernel headers.
Have this issue been discussed with upstream?
--
Venlig hilsen,
Peter Korsgaard
More information about the buildroot
mailing list