From: Alex Bennee <[email protected]>
libsensors attempts to install:
/usr/include/linux/i2c-dev.h
Which clashes with the libc definition. This patch removes it
from the build (as suggested by _pb on #oe).
Signed-off-by: Alex Bennee <[email protected]>
---
recipes/lm_sensors/lmsensors-apps_2.10.8.bb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
b/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
index dcc33ac..266f1b8 100644
--- a/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
+++ b/recipes/lm_sensors/lmsensors-apps_2.10.8.bb
@@ -29,6 +29,9 @@ do_install() {
install -d ${D}${mandir}
rm -rf ${D}${mandir}/*
mv ${D}/usr/man/* ${D}${mandir}
+
+ # Remove clashing headers, libc packages i2c-dev.h
+ rm ${D}/usr/include/linux/i2c-dev.h
}
do_stage() {
--
1.7.4.1
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel