Skip to contentSkip to conversation

i2c-tools: create i2c-tools-misc package for perl scripts

PATCH New Chong Lu 1 participant 2 messages Sep 9, 2014

lore
Share & tools
lore

Chong Lu

author
#0 lore raw

v2 cover i2c-tools: create i2c-tools-misc package for perl scripts

The following changes since commit 1894522f357fdf0b6adb2dcc14f12817628596bd:

bitbake: tinfoil: add a means of enabling variable history tracking (2014-09-05 10:14:25 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib chonglu/i2c-tools
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/i2c-tools

Chong Lu (1):
i2c-tools: create i2c-tools-misc package for perl scripts

 meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v2 1/1 i2c-tools: create i2c-tools-misc package for perl scripts

The patch is to split those perl scripts from the main package. Add perl to RDEPENDS_i2c-tools-misc.

---
 meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb +10 -2
index 4605414..71c98a4 100644
@@ -3,8 +3,6 @@ SECTION = "base"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-RDEPENDS_${PN} += "perl"
-
 SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
            file://Module.mk \
 "
@@ -24,3 +22,13 @@ do_install_append() {
     install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
     rm -f ${D}${includedir}/linux/i2c-dev.h
 }
+
+PACKAGES =+ "${PN}-misc"
+FILES_${PN}-misc = "${sbindir}/i2c-stub-from-dump \
+                        ${bindir}/ddcmon \
+                        ${bindir}/decode-edid \
+                        ${bindir}/decode-dimms \
+                        ${bindir}/decode-vaio \
+                       "
+RDEPENDS_${PN} += "${PN}-misc"
+RDEPENDS_${PN}-misc += "perl"
Signature · 1 line
1.9.1