summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/i2c-tools
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-09-09 09:54:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-16 22:14:06 +0100
commit04a336043f828a5ffa67e8aff4f92baeef7b7971 (patch)
tree1cba0319dda907515de977b5fddd7377d20861cb /meta/recipes-devtools/i2c-tools
parent14adc48816bad158c04807ba1c6bb61978883b23 (diff)
downloadpoky-04a336043f828a5ffa67e8aff4f92baeef7b7971.tar.gz
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. (From OE-Core rev: 9a8b35ec689ca583bb1e117ca4998215da7fcac6) Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/i2c-tools')
-rw-r--r--meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb b/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb
index 460541440b..71c98a4fd1 100644
--- a/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb
+++ b/meta/recipes-devtools/i2c-tools/i2c-tools_3.1.1.bb
@@ -3,8 +3,6 @@ SECTION = "base"
3LICENSE = "GPLv2+" 3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5 5
6RDEPENDS_${PN} += "perl"
7
8SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \ 6SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
9 file://Module.mk \ 7 file://Module.mk \
10" 8"
@@ -24,3 +22,13 @@ do_install_append() {
24 install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h 22 install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
25 rm -f ${D}${includedir}/linux/i2c-dev.h 23 rm -f ${D}${includedir}/linux/i2c-dev.h
26} 24}
25
26PACKAGES =+ "${PN}-misc"
27FILES_${PN}-misc = "${sbindir}/i2c-stub-from-dump \
28 ${bindir}/ddcmon \
29 ${bindir}/decode-edid \
30 ${bindir}/decode-dimms \
31 ${bindir}/decode-vaio \
32 "
33RDEPENDS_${PN} += "${PN}-misc"
34RDEPENDS_${PN}-misc += "perl"