From: Alex Bennee Date: Tue, 22 Feb 2011 18:21:32 +0000 (+0000) Subject: libsensors: Remove clashing header definition from package X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2977a53f5e85194273f87089758eeb39193ba1a9;p=openembedded.git 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 Signed-off-by: Tom Rini --- 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() {