diff options
| author | wangmy <wangmy@fujitsu.com> | 2021-07-29 15:06:28 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:11 +0100 |
| commit | e5a7abc00d343e218fa16d8a63411aa41d3235d1 (patch) | |
| tree | 7158ffdd1059b895c301efc0e62fb33ab201acf4 /meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb | |
| parent | 61bc8187c4269ca3da21220805945fecfff5b796 (diff) | |
| download | poky-e5a7abc00d343e218fa16d8a63411aa41d3235d1.tar.gz | |
i2c-tools: upgrade 4.2 -> 4.3
4.3 (2021-07-22)
decode-dimms: Attempt to decode LPDDR3 modules
eeprom, eepromer: Removed the tools in favor of eeprog
i2cdetect: Sort the bus list by number
(From OE-Core rev: ca41c972260de9d3ecd2098f19ec90e4e81f252b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb')
| -rw-r--r-- | meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb b/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb new file mode 100644 index 0000000000..51e4e5d8e9 --- /dev/null +++ b/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | SUMMARY = "Set of i2c tools for linux" | ||
| 2 | HOMEPAGE = "https://i2c.wiki.kernel.org/index.php/I2C_Tools" | ||
| 3 | DESCRIPTION = "The i2c-tools package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access. All versions of Linux are supported, as long as I2C support is included in the kernel." | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "GPLv2+" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
| 7 | |||
| 8 | SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/${BP}.tar.gz \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148" | ||
| 12 | |||
| 13 | inherit update-alternatives | ||
| 14 | |||
| 15 | EXTRA_OEMAKE = "bindir=${bindir} sbindir=${sbindir} \ | ||
| 16 | incdir=${includedir} libdir=${libdir} \ | ||
| 17 | mandir=${mandir} \ | ||
| 18 | EXTRA=eeprog" | ||
| 19 | |||
| 20 | do_install() { | ||
| 21 | oe_runmake 'DESTDIR=${D}' install | ||
| 22 | } | ||
| 23 | |||
| 24 | PACKAGES =+ "${PN}-misc" | ||
| 25 | FILES:${PN}-misc = "${sbindir}/i2c-stub-from-dump \ | ||
| 26 | ${bindir}/ddcmon \ | ||
| 27 | ${bindir}/decode-edid \ | ||
| 28 | ${bindir}/decode-dimms \ | ||
| 29 | ${bindir}/decode-vaio \ | ||
| 30 | " | ||
| 31 | RDEPENDS:${PN}-misc = "${PN} perl perl-module-posix \ | ||
| 32 | perl-module-constant perl-module-file-basename \ | ||
| 33 | perl-module-fcntl perl-module-strict perl-module-vars \ | ||
| 34 | perl-module-carp \ | ||
| 35 | " | ||
| 36 | |||
| 37 | ALTERNATIVE_PRIORITY = "100" | ||
| 38 | ALTERNATIVE:${PN} = "i2cdetect i2cdump i2cget i2cset i2ctransfer" | ||
| 39 | ALTERNATIVE_LINK_NAME[i2cdetect] = "${sbindir}/i2cdetect" | ||
| 40 | ALTERNATIVE_LINK_NAME[i2cdump] = "${sbindir}/i2cdump" | ||
| 41 | ALTERNATIVE_LINK_NAME[i2cget] = "${sbindir}/i2cget" | ||
| 42 | ALTERNATIVE_LINK_NAME[i2cset] = "${sbindir}/i2cset" | ||
| 43 | ALTERNATIVE_LINK_NAME[i2ctransfer] = "${sbindir}/i2ctransfer" | ||
