All of lore.kernel.org
 help / color / mirror / Atom feed
* Recipe Grep'ing
@ 2021-05-06  0:41 Chuck Wolber
  2021-05-06  0:50 ` [yocto] " Khem Raj
  2021-05-06  2:12 ` Bruce Ashfield
  0 siblings, 2 replies; 6+ messages in thread
From: Chuck Wolber @ 2021-05-06  0:41 UTC (permalink / raw)
  To: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

I was pondering putting some work in to a fairly large patch set aimed at
making recipes easier to grep through, and wanted to get some feedback
before I put time and effort into it.

I have often found that the following pattern cleanly describes the "what"
and the "why" when grep'ing through recipes to search for things:

FOO += "item1"
FOO += "item2"

Whereas this pattern gives us the "what", but not the "why":

FOO = "item1 \
             item2 \
            "

After discussing this with Richard Purdie on IRC, I also understand that
the latter pattern benefits some forms of build output. In addition, for
SRC_URI, the "why" is normally fairly obvious from context clues.

So, is there any interest in accepting a patch set of that nature for Yocto
and OE repositories? If so, what variables and situations should be
considered "off limits" to a change like that?

..Ch:W..


-- 
*"Perfection must be reached by degrees; she requires the slow hand of
time." - Voltaire*

[-- Attachment #2: Type: text/html, Size: 1516 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-12  6:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06  0:41 Recipe Grep'ing Chuck Wolber
2021-05-06  0:50 ` [yocto] " Khem Raj
2021-05-09  1:25   ` Robert Joslyn
2021-05-12  6:44     ` Chuck Wolber
2021-05-06  2:12 ` Bruce Ashfield
2021-05-06  2:59   ` Khem Raj

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.