All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: openembedded-devel@lists.openembedded.org
Cc: upstream@lists.phytec.de, L.Anderweit@phytec.de
Subject: Re: [oe] [meta-oe][scarthgap][PATCH] lmsensors: Fix build without sensord
Date: Thu, 15 May 2025 16:52:32 +0200	[thread overview]
Message-ID: <5004930.GXAFRqVoOG@steina-w> (raw)
In-Reply-To: <20250505095620.14907-1-l.anderweit@phytec.de>

Am Montag, 5. Mai 2025, 11:56:20 CEST schrieb Leonard Anderweit via lists.openembedded.org:
> When building with sensord disabled (PACKAGECONFIG = ""), do_install
> would fail because it tried to build sensord which was skiped in

small typo: skiped -> skipped

> do_compile.
> Error log:
> make: *** No rule to make target 'rrd.h', needed by 'prog/sensord/rrd.rd'. Stop.
> 
> Avoid building sensord in do_install by explicitly setting PROG_EXTRA.
> 
> (master rev: fc88c96c4e40d9dbc6097c4679ac79ed55356730)
> 
> Fixes: 86b20b84ec27 (lmsensors: Clean stale files for sensord to avoid
> incorrect GCC header dependencies)
> 
> Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Otherwise this fixes the build issue
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>

> ---
>  meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
> index e3186132c76c..6e4cf29f479f 100644
> --- a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
> +++ b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
> @@ -48,7 +48,8 @@ S = "${WORKDIR}/git"
>  EXTRA_OEMAKE = 'EXLDFLAGS="${LDFLAGS}" \
>          MACHINE=${TARGET_ARCH} PREFIX=${prefix} MANDIR=${mandir} \
>          LIBDIR=${libdir} \
> -        CC="${CC}" AR="${AR}"'
> +        CC="${CC}" AR="${AR}" \
> +        PROG_EXTRA="sensors ${PACKAGECONFIG_CONFARGS}"'
>  
>  do_configure:prepend() {
>      sed -i -e 's:^#\(PROG_EXTRA\):\1:' ${S}/Makefile
> @@ -59,7 +60,7 @@ do_compile() {
>      sed -i -e 's/\$(LIBDIR)$/\$(LIBDIR) \$(LDFLAGS)/g' ${S}/Makefile
>      sed -i -e 's/\$(LIBSHSONAME) -o/$(LIBSHSONAME) \$(LDFLAGS) -o/g' \
>                  ${S}/lib/Module.mk
> -    oe_runmake user PROG_EXTRA="sensors ${PACKAGECONFIG_CONFARGS}"
> +    oe_runmake user
>  }
>  
>  do_install() {
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/




  reply	other threads:[~2025-05-15 14:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-05  9:56 [meta-oe][scarthgap][PATCH] lmsensors: Fix build without sensord Leonard Anderweit
2025-05-15 14:52 ` Alexander Stein [this message]
2025-05-26  6:32   ` [oe] " Alexander Stein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5004930.GXAFRqVoOG@steina-w \
    --to=alexander.stein@ew.tq-group.com \
    --cc=L.Anderweit@phytec.de \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=upstream@lists.phytec.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.