summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb')
-rw-r--r--meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb b/meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb
index 01ac47f611..fe3247d82e 100644
--- a/meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb
+++ b/meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb
@@ -14,6 +14,8 @@ SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/${BP}.tar.gz \
14SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa" 14SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
15SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f071ca403" 15SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f071ca403"
16 16
17inherit update-alternatives
18
17EXTRA_OEMAKE = "bindir=${bindir} sbindir=${sbindir} \ 19EXTRA_OEMAKE = "bindir=${bindir} sbindir=${sbindir} \
18 incdir=${includedir} libdir=${libdir} \ 20 incdir=${includedir} libdir=${libdir} \
19 mandir=${mandir} \ 21 mandir=${mandir} \
@@ -34,3 +36,10 @@ RDEPENDS_${PN}-misc = "${PN} perl perl-module-posix \
34 perl-module-constant perl-module-file-basename \ 36 perl-module-constant perl-module-file-basename \
35 perl-module-fcntl perl-module-strict perl-module-vars \ 37 perl-module-fcntl perl-module-strict perl-module-vars \
36 " 38 "
39
40ALTERNATIVE_PRIORITY = "100"
41ALTERNATIVE_${PN} = "i2cdetect i2cdump i2cget i2cset"
42ALTERNATIVE_LINK_NAME[i2cdetect] = "${sbindir}/i2cdetect"
43ALTERNATIVE_LINK_NAME[i2cdump] = "${sbindir}/i2cdump"
44ALTERNATIVE_LINK_NAME[i2cget] = "${sbindir}/i2cget"
45ALTERNATIVE_LINK_NAME[i2cset] = "${sbindir}/i2cset"