Only the library code (libi2cdev.h) is covered by GPL-2.0.
Otherwise the main license is LGPL-2.1
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Building the recipe with MUSL fails, because it uses error.h which isn't
supported by MUSL. Because the usage is only in one expression, it's easy to
rewrite this.
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The AUTHOR field is no longer used in generating packages.
It may also create a possible confusion with the recipe maintainer
name, so let's remove it.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The main part is the tool lsi2c to scan the i2c bus, like lspci and lsusb
do.
This recipe also ships a static library *libi2cdev.a*. Because this library
contains the file *smbus.c* which is *GPL v2+,* and a static library can't
be linked dynamically to satisfy the LGPL, the whole recipe is marked
as *GPL-2.0-or-later.*
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>