diff options
author | Alex Bennee <ajb@cbnl.com> | 2011-02-22 18:21:32 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-23 14:21:16 -0700 |
commit | 2977a53f5e85194273f87089758eeb39193ba1a9 (patch) | |
tree | b3892e86eb6a0ebbf8bb97e684a81ffa5188187f /recipes/lm_sensors | |
parent | 70bf94cd8669f549ca90581e9592d409b6e24e2e (diff) | |
download | openembedded-2977a53f5e85194273f87089758eeb39193ba1a9.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>
Diffstat (limited to 'recipes/lm_sensors')
-rw-r--r-- | 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 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() { |