Patchwork sysstat: Explicitly disable sensors support.

login
register
mail settings
Submitter Marc Ferland
Date Aug. 30, 2012, 1:54 p.m.
Message ID <1346334862-18868-1-git-send-email-ferlandm@sonatest.com>
Download mbox | patch
Permalink /patch/35541/
State New
Headers show

Comments

Marc Ferland - Aug. 30, 2012, 1:54 p.m.
Since no lmsensors recipe exists by default in oe-core, explicitly disable
support for it in sysstat. In my case sysstat would fail linking complaining
about undefined references when adding my own lmsensors recipe.

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
---
 meta/recipes-extended/sysstat/sysstat.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Martin Jansa - Aug. 30, 2012, 2:05 p.m.
On Thu, Aug 30, 2012 at 09:54:22AM -0400, Marc Ferland wrote:
> Since no lmsensors recipe exists by default in oe-core, explicitly disable
> support for it in sysstat. In my case sysstat would fail linking complaining
> about undefined references when adding my own lmsensors recipe.

Missing PR bump

> 
> Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
> ---
>  meta/recipes-extended/sysstat/sysstat.inc |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
> index 9da40a7..76c9252 100644
> --- a/meta/recipes-extended/sysstat/sysstat.inc
> +++ b/meta/recipes-extended/sysstat/sysstat.inc
> @@ -9,6 +9,7 @@ SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \
>  
>  inherit autotools gettext
>  
> +EXTRA_OECONF += "--disable-sensors"
>  EXTRA_OEMAKE += 'LFLAGS=""'
>  
>  do_install() {
> -- 
> 1.7.5.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index 9da40a7..76c9252 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -9,6 +9,7 @@  SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \
 
 inherit autotools gettext
 
+EXTRA_OECONF += "--disable-sensors"
 EXTRA_OEMAKE += 'LFLAGS=""'
 
 do_install() {