From 2977a53f5e85194273f87089758eeb39193ba1a9 Mon Sep 17 00:00:00 2001 From: Alex Bennee Date: Tue, 22 Feb 2011 18:21:32 +0000 Subject: [PATCH] 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 --- recipes/lm_sensors/lmsensors-apps_2.10.8.bb | 3 +++ 1 file changed, 3 insertions(+) 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() { -- 2.39.5