Commit Graph

5 Commits

Author SHA1 Message Date
Gyorgy Sarvari c166308bc9 i2cdev: fix LICENSE
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>
2025-02-19 09:36:17 -08:00
Khem Raj 8f479b898a i2cdev: Set PV correctly
based on https://github.com/costad2/i2cdev/blob/master/version.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-27 09:48:30 -08:00
Jörg Sommer 072dd00d97 i2cdev: Fix MUSL build
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>
2024-01-12 08:51:12 -08:00
Fabio Estevam 3f166bfbb7 i2cdev_git: Remove AUTHOR field
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>
2024-01-02 08:24:09 -08:00
Jörg Sommer 813fb0def8 i2cdev: New recipe with i2c tools
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>
2023-12-29 09:04:22 -08:00