diff options
| author | Jörg Sommer <joerg.sommer@navimatix.de> | 2023-12-27 17:58:35 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-12-29 09:04:22 -0800 |
| commit | 813fb0def8a8bca81706496dd6f106692616a11f (patch) | |
| tree | 0b9dce36592159be651ca6dfa276ee975976193c /meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb | |
| parent | f4c3c747d6df6015eb1231f2867ffe43ddb9620e (diff) | |
| download | meta-openembedded-813fb0def8a8bca81706496dd6f106692616a11f.tar.gz | |
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>
Diffstat (limited to 'meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb')
| -rw-r--r-- | meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb b/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb new file mode 100644 index 0000000000..b1f8a7f805 --- /dev/null +++ b/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "i2c dev tools for Linux" | ||
| 2 | DESCRIPTION = "\ | ||
| 3 | This package contains an I2C dev library and the i2c bus scanning \ | ||
| 4 | utility lsi2c. \ | ||
| 5 | " | ||
| 6 | AUTHOR = "Danielle Costantino" | ||
| 7 | HOMEPAGE = "https://github.com/costad2/i2cdev" | ||
| 8 | LICENSE = "GPL-2.0-or-later" | ||
| 9 | LIC_FILES_CHKSUM = "\ | ||
| 10 | file://COPYING;md5=768997ba510a952bef1775c50bc22b00 \ | ||
| 11 | file://include/libi2cdev.h;beginline=12;endline=25;md5=72486a5e192d6ac5c7e55a4a95e380a6 \ | ||
| 12 | file://libi2cdev/smbus.c;beginline=9;endline=22;md5=d9a0de5a611b960fa75912ded6c60096 \ | ||
| 13 | file://lsi2c/lsi2c.c;beginline=11;endline=24;md5=72486a5e192d6ac5c7e55a4a95e380a6 \ | ||
| 14 | " | ||
| 15 | |||
| 16 | PR = "git${SRCPV}" | ||
| 17 | |||
| 18 | SRC_URI = "\ | ||
| 19 | git://github.com/costad2/i2cdev.git;protocol=https;branch=master \ | ||
| 20 | file://fix-lsi2c-makefile.patch \ | ||
| 21 | " | ||
| 22 | SRCREV = "ed9ad777d842880e7ac6ca5e0de4bd2d3b4d02dc" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/git" | ||
| 25 | |||
| 26 | inherit autotools | ||
