All of lore.kernel.org
 help / color / mirror / Atom feed
* preferred KERNEL_FEATURES format: netfilter or netfilter.scc?
@ 2015-03-03  9:12 Robert P. J. Day
  2015-03-03 10:39 ` Robert P. J. Day
  0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2015-03-03  9:12 UTC (permalink / raw)
  To: Yocto discussion list


  kernel dev manual uses the KERNEL_FEATURES format of:

     KERNEL_FEATURES += "features/netfilter.scc"

while ref manual variable glossary uses

     KERNEL_FEATURES="features/netfilter"

is there a preference for the usage of the .scc suffix? (i'm assuming
they're both valid, i didn't actually check that. maybe i should check
that ...)

  oh, wait, here's something from kernel-yocto.bbclass that seems to
require the presence of the .scc suffix:

# returns all the elements from the src uri that are .scc files
def find_sccs(d):
    sources=src_patches(d, True)
    sources_list=[]
    for s in sources:
        base, ext = os.path.splitext(os.path.basename(s))
        if ext and ext in [".scc", ".cfg"]:
            sources_list.append(s)
        elif base and base in 'defconfig':
            sources_list.append(s)

    return sources_list

i should note that the introductory comment is incorrect since that
function clearly does not just find "sccs", it finds .cfg and
defconfig files as well, no?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

end of thread, other threads:[~2015-03-03 16:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03  9:12 preferred KERNEL_FEATURES format: netfilter or netfilter.scc? Robert P. J. Day
2015-03-03 10:39 ` Robert P. J. Day
2015-03-03 14:29   ` Bruce Ashfield
2015-03-03 16:27     ` Robert P. J. Day
2015-03-03 16:30       ` Bruce Ashfield
2015-03-03 16:46         ` Robert P. J. Day

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.