From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: 1.3_M3 do_kernel_config failes, config_frag.txt is crippled.
Date: Thu, 23 Aug 2012 13:33:13 -0400 [thread overview]
Message-ID: <50366959.6090008@windriver.com> (raw)
In-Reply-To: <20120823192343.a92af96b-a5ee-491b-80de-fb8ba16871e6.mhubig@imko.de>
On 12-08-23 01:28 PM, Markus Hubig wrote:
> On Thu, Aug 23, 2012 at 12:26:30PM -0400, Bruce Ashfield wrote:
>> On 12-08-23 12:18 PM, Markus Hubig wrote:
>>> On Thu, Aug 23, 2012 at 09:31:15AM -0400, Bruce Ashfield wrote:
>>>> On 12-08-23 09:24 AM, Markus Hubig wrote:
>
> <snipp>
>
>>> Surprisingly if I remove the *.cfg files from the SRC_URI
>>>
>>> | SRC_URI_append_portuxg20 = "\
>>> | file://portuxg20-standard.scc \
>>> | file://portuxg20-preempt-rt.scc \
>>> | file://portuxg20.scc \
>>> | "
>>> |
>>> | SRC_URI_append_stamp9g20 = "
>>> | file://stamp9g20-standard.scc \
>>> | file://stamp9g20-preempt-rt.scc \
>>> | file://stamp9g20.scc \
>>>
>>> it also works ...
>>
>> Yes, and I can explain this part. When a .scc file is detected, the
>> entire directory contents are propagated to the kernel build, since
>> .scc files can refer to patches, configs, etc, and some elements are
>> optional, they are all made available.
>>
>> So if you reference .cfgs and patches in your .scc files, you don't
>> need them in the SRC_URI, just the .scc file.
>
> Is it possible that if I remove the *.cfg files, bitbake no longer tracks
> changes inside this files and will not rebuild the related packages from
> scratch with:
If the checksums are over the elements in the SRC_URI, then that would
be true, but I'm not a checksum or fetcher expert.
repeating a .cfg really should be safe, just a bit verbose, I'll retest
that here to see if something broke.
My workflow never hits any problems with not rebuilding, but I can also
check that. If necessary, listing the files, or another technique to get
the checksum'd would be advisable. I'll look into that as well.
Cheers,
Bruce
>
> | bitbake -fc clean linux-yocto
> | bitbake linux-yocto
>
> Cheers, Markus
>
prev parent reply other threads:[~2012-08-23 17:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 13:24 1.3_M3 do_kernel_config failes, config_frag.txt is crippled Markus Hubig
2012-08-23 13:31 ` Bruce Ashfield
2012-08-23 16:18 ` Markus Hubig
2012-08-23 16:22 ` Markus Hubig
2012-08-23 16:26 ` Bruce Ashfield
2012-08-23 17:28 ` Markus Hubig
2012-08-23 17:33 ` 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=50366959.6090008@windriver.com \
--to=bruce.ashfield@windriver.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.