From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Chris Tapp <opensource@keylevel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Configuring a layer to support multiple targets
Date: Wed, 17 Aug 2011 11:18:06 -0400 [thread overview]
Message-ID: <4E4BDBAE.1060402@windriver.com> (raw)
In-Reply-To: <84AA8A6F-7556-4965-93ED-BDD4322047B3@keylevel.com>
On 11-08-17 03:59 AM, Chris Tapp wrote:
> On 13 Aug 2011, at 02:22, Bruce Ashfield wrote:
>
>> What's your yocto release / base kernel ? IF you happen to
>> be using linux-yocto there are several ways to avoid using
>> defconfigs at all, and share your common base of kernel
>> configuration items.
>
> Plan is to move to linux-yocto (currently using wrs). How do I configure
> it without using a defconfig?
I depends on how you host your BSP, and the release. In
yocto 1.1, there's new functionality that makes it easier
to graft a BSP onto the tree without needing to have the
BSP merged somewhere.
But to configure and work without a defconfig, you simply
need a BSP that branches from yocto/standard/base. Even the
autogenerated descriptions in 1.0 will automatically include
the standard kernel configs and settings and pass them to
your BSP. Once this is in place, you simply need a config
fragment (a .cfg file) for your board that adds/modifies the
base configuration.
>
> Also, is it possible to use a .config rather than a defconfig? I've got
> a lot of stuff turned off to reduce the size of the kernel, but a
> defconfig doesn't quite do. For example, if I have
>
> # CONFIG_USB_SERIAL is not set
>
> in a defconfig, then this gets in to the .config at build time. However,
> this doesn't disable any dependencies that are enabled in linux-wrs.
> This means that modules for the likes of the ftdi and pl2303 USB serial
> devices are still included in the kernel image.
>
> The use of a complete .config would stop this.
In this sense, the defconfig is simply a name to trigger
specific processing. Just capture and call your .config
'defconfig' and you'll get a translation of those settings
into the build.
Bruce
>
>
> Chris Tapp
>
> opensource@keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
next prev parent reply other threads:[~2011-08-17 15:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 22:31 Configuring a layer to support multiple targets Chris Tapp
2011-08-12 22:54 ` Gary Thomas
2011-08-24 7:59 ` Missing patch files in SRC_URIs Chris Tapp
2011-08-24 11:11 ` Paul Eggleton
2011-08-24 19:36 ` Chris Tapp
2011-08-13 1:22 ` Configuring a layer to support multiple targets Bruce Ashfield
2011-08-17 7:59 ` Chris Tapp
2011-08-17 15:18 ` Bruce Ashfield [this message]
2011-08-17 19:07 ` Chris Tapp
2011-08-17 19:15 ` Bruce Ashfield
2011-08-17 19:38 ` Chris Tapp
[not found] ` <4E4C2399.1040505@windriver.com>
2011-08-17 20:42 ` Chris Tapp
2011-08-22 18:52 ` Bruce Ashfield
2011-08-22 21:21 ` Chris Tapp
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=4E4BDBAE.1060402@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=opensource@keylevel.com \
--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.