i2c-tools: Do not use autotootls as bbclass
The sources are not using autotools and the build breaks. ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/log.do_install.10782) ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/log.do_install.10782 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Executing shell function do_install | NOTE: make -j 2 DESTDIR=/home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/image install | make: *** No rule to make target `install'. Stop. | ERROR: oe_runmake failed | WARNING: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/run.do_install.10782:1 exit 1 from | exit 1 | ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/log.do_install.10782) NOTE: recipe i2c-tools-3.1.1-r0: task do_install: Failed
This commit is contained in:
parent
703e99dee6
commit
5de4108c11
|
@ -9,15 +9,14 @@ SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/${BP}.tar.bz2 \
|
||||||
SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1"
|
SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1"
|
||||||
SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700"
|
SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700"
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
do_compile_prepend() {
|
do_compile_prepend() {
|
||||||
cp ${WORKDIR}/Module.mk ${S}/eepromer/
|
cp ${WORKDIR}/Module.mk ${S}/eepromer/
|
||||||
sed -i 's#/usr/local#${exec_prefix}#' ${S}/Makefile
|
sed -i 's#/usr/local#${exec_prefix}#' ${S}/Makefile
|
||||||
echo "include eepromer/Module.mk" >> ${S}/Makefile
|
echo "include eepromer/Module.mk" >> ${S}/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install() {
|
||||||
|
oe_runmake 'DESTDIR=${D}' install
|
||||||
install -d ${D}${includedir}/linux
|
install -d ${D}${includedir}/linux
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue