All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>,
	Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: what is the "simplest unit of kernel Metadata"?
Date: Tue, 3 Mar 2015 09:36:10 -0500	[thread overview]
Message-ID: <54F5C6DA.5020405@windriver.com> (raw)
In-Reply-To: <alpine.LFD.2.11.1503030829260.3838@Device-040570>

On 15-03-03 08:32 AM, Robert P. J. Day wrote:
>
>    kernel dev manual, section 3.4.1, claims:
>
> "The simplest unit of kernel Metadata is the configuration-only
> feature. This feature consists of one or more Linux kernel
> configuration parameters in a configuration fragment file (.cfg) and a
> .scc file that describes the fragment."
>
>    that pretty clearly suggests that .cfg fragment files *must* be
> accompanied by a related .scc file. but earlier in that same manual,
> some examples use only .cfg files:
>
>       FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>       SRC_URI += "file://8250.cfg"
>
> so how should that be worded?

It is talking about the in-tree meta-data, where .cfg files are
referenced and included by .scc files.

As a convenience to someone working in a recipe who really doesn't
care about the implementation details and just want to add a few
configuration items to their kernel .. A .cfg file that is referenced
in the SRC_URI is detected, and a .scc file generated to include that
fragment. So the end result is that the config items are processed
and merged into the kernel config, with no special processing of those
fragments required.

So the documentation is correct, but it is staying out of some of
the internal details of how that .cfg file actually gets processed.

Cheers,

Bruce

>
> rday
>



      reply	other threads:[~2015-03-03 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 13:32 what is the "simplest unit of kernel Metadata"? Robert P. J. Day
2015-03-03 14:36 ` Bruce Ashfield [this message]

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=54F5C6DA.5020405@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=rpjday@crashcourse.ca \
    --cc=yocto@yoctoproject.org \
    /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.