[oe-commits] Alex Bennee : libsensors: Remove clashing header definition from package
git version control
git at git.openembedded.org
Wed Feb 23 21:22:29 UTC 2011
Module: openembedded.git
Branch: master
Commit: 2977a53f5e85194273f87089758eeb39193ba1a9
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2977a53f5e85194273f87089758eeb39193ba1a9
Author: Alex Bennee <ajb at cbnl.com>
Date: Tue Feb 22 18:21:32 2011 +0000
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 at cbnl.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
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() {
More information about the Openembedded-commits
mailing list