mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -3,8 +3,6 @@ SECTION = "base"
|
|||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||||
|
|
||||||
RDEPENDS_${PN} += "perl"
|
|
||||||
|
|
||||||
SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
|
SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
|
||||||
file://Module.mk \
|
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
|
install -m 0644 include/linux/i2c-dev.h ${D}${includedir}/linux/i2c-dev-user.h
|
||||||
rm -f ${D}${includedir}/linux/i2c-dev.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"
|
||||||
|
|||||||
Reference in New Issue
Block a user