All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: afd@ti.com
Cc: Denys Dmytriyenko <denys@konsulko.com>,
	Ryan Eatmon <reatmon@ti.com>,
	meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti][master/wrynose][PATCH v2] ti-linux-fw: Remove default SUMMARY line
Date: Wed, 24 Jun 2026 16:54:33 -0400	[thread overview]
Message-ID: <20260624205433.GF10186@denix.org> (raw)
In-Reply-To: <883f620a-c9b3-4418-a180-ded5d0e07353@ti.com>

On Wed, Jun 24, 2026 at 03:47:52PM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> On 6/24/26 3:37 PM, Denys Dmytriyenko wrote:
> >On Wed, Jun 24, 2026 at 03:30:26PM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> >>All firmware that includes this helper should set their own SUMMARY line.
> >>Currently all do (other than ti-adc-fw which we fix here), but they often
> >>include this file after setting their own SUMMARY, so this common one
> >>overwrites the correct one. Remove this default SUMMARY.
> >
> >How about flipping it the other way around?
> >
> >In the common .inc file we set:
> >
> >SUMMARY = "Prebuild binary firmware"
> >
> >And in specific firmware recioes we clarify:
> >
> >SUMMARY .= " for TI ADC PCM6240 configuration"
> >
> >That way it won't matter if the inclusion happens before or after setting the
> >specific SUMMARY and it won't be completely empty (albeit generic) if someone
> >forgets setting SUMMARY in the recipe.
> >
> 
> It might technically work, but I'd rather we throw a warning if someone forgets
> their SUMMARY line rather than just taking a super generic fallback. If we allow
> fallbacks like that what stops us from having
> 
> SUMMARY = "Yocto recipe"
> 
> in some main conf and hope recipes add
> 
> SUMMARY .= " for Linux kernel on TI devices"

There won't be any warning, as OE-Core has defaults for SUMMARY and 
DESCRIPTION:

https://git.openembedded.org/openembedded-core/tree/meta/conf/bitbake.conf#n276



> Andrew
> 
> >
> >>Signed-off-by: Andrew Davis <afd@ti.com>
> >>---
> >>
> >>Changes for v2:
> >>  - Update ti-adc-fw so it has a SUMMARY
> >>
> >>  meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb      | 2 +-
> >>  meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 2 --
> >>  2 files changed, 1 insertion(+), 3 deletions(-)
> >>
> >>diff --git a/meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb b/meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb
> >>index ad025483..0b70d69d 100644
> >>--- a/meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb
> >>+++ b/meta-ti-bsp/recipes-bsp/ti-adc-fw/ti-adc-fw.bb
> >>@@ -1,4 +1,4 @@
> >>-DESCRIPTION = "TI ADC PCM6240 config prebuild binary firmware"
> >>+SUMMARY = "TI ADC PCM6240 config prebuild binary firmware"
> >>  require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> >>diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> >>index 126c46df..d343a6aa 100644
> >>--- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> >>+++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
> >>@@ -1,5 +1,3 @@
> >>-SUMMARY = "Common include for TI Linux firmware"
> >>-
> >>  LICENSE = "TI-TFL"
> >>  LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> >>-- 
> >>2.39.2


  reply	other threads:[~2026-06-24 20:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-24 20:30 [meta-ti][master/wrynose][PATCH v2] ti-linux-fw: Remove default SUMMARY line Andrew Davis
2026-06-24 20:37 ` Denys Dmytriyenko
2026-06-24 20:47   ` Andrew Davis
2026-06-24 20:54     ` Denys Dmytriyenko [this message]
2026-06-24 21:00       ` Robert P. J. Day
2026-06-24 23:38 ` PRC Automation

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=20260624205433.GF10186@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=denys@konsulko.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    /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.