aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Bennee <ajb@cbnl.com>2011-02-22 18:21:32 +0000
committerSteffen Sledz <sledz@dresearch.de>2011-02-25 08:48:58 +0100
commit36b76d526e63b484b4bbb4838baa78985c0c23f1 (patch)
treeb3892e86eb6a0ebbf8bb97e684a81ffa5188187f
parent8c348e5e2f8df857af5e047521c0e7c699a11907 (diff)
downloadopenembedded-36b76d526e63b484b4bbb4838baa78985c0c23f1.tar.gz
libsensors: Remove clashing header definition from package
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 <ajb@cbnl.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/lm_sensors/lmsensors-apps_2.10.8.bb3
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 dcc33ac3ad..266f1b852c 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() {