From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Andre McCurdy <armccurdy@gmail.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/7] linux-yocto-custom: clarify bbappend versus copy in comments
Date: Thu, 21 May 2015 20:59:14 -0400 [thread overview]
Message-ID: <555E7F62.8070107@windriver.com> (raw)
In-Reply-To: <CAJ86T=X9o3vCfuDx6V1_TJOMhObHVPX-NkpdcGgqijuvT8f7Uw@mail.gmail.com>
On 2015-05-21 5:55 PM, Andre McCurdy wrote:
> On Thu, May 21, 2015 at 12:08 PM, Bruce Ashfield
> <bruce.ashfield@windriver.com> wrote:
>> The kernel development manual recommends making a copy of
>> linux-yocto-custom, while the comments in the recipe talk about
>> bbappends.
>>
>> To synchronize the two, we remove the bbappend references from the
>> recipe and instead indicate that a copy should be updated.
>>
>> [YOCTO: #6925]
>>
>> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>> ---
>> meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb | 10 +++++-----
>> 1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb b/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
>> index 05463c026304..e38af19f827b 100644
>> --- a/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
>> +++ b/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb
>> @@ -11,8 +11,8 @@
>> #
>> # You must also provide a Linux kernel configuration. The most direct
>> # method is to copy your .config to files/defconfig in your layer,
>> -# in the same directory as the bbappend and add file://defconfig to
>> -# your SRC_URI.
>> +# in the same directory as the copy (and rename) of this recipe and
>> +# add file://defconfig to your SRC_URI.
>> #
>> # To use the yocto kernel tooling to generate a BSP configuration
>> # using modular configuration fragments, see the yocto-bsp and
>> @@ -52,14 +52,14 @@
>> inherit kernel
>> require recipes-kernel/linux/linux-yocto.inc
>>
>> -# Override SRC_URI in a bbappend file to point at a different source
>> +# Override SRC_URI in a copy of this recipe to point at a different source
>> # tree if you do not want to build from Linus' tree.
>
> Would "Update SRC_URI in your copy of this recipe..." make more sense here?
I avoided possessives on purpose, this could be one of many copies,
most may not be 'yours'.
>
>> SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;nocheckout=1;name=machine"
>>
>> LINUX_VERSION ?= "3.4"
>> LINUX_VERSION_EXTENSION ?= "-custom"
>>
>> -# Override SRCREV to point to a different commit in a bbappend file to
>> +# Override SRCREV to point to a different commit in a copy of this recipe
>> # build a different release of the Linux kernel.
>> # tag: v3.4 76e10d158efb6d4516018846f60c2ab5501900bc
>
> Same comment, "Override" -> "Update" and "a copy" -> "your copy".
There's a default SRCREV in many configs, that's why I say override,
but update works too.
>
> Also, the word "to" seems to have gone missing from the end of the line.
Indeed. I'll add that back.
Bruce
>
>> SRCREV_machine="76e10d158efb6d4516018846f60c2ab5501900bc"
>> @@ -67,6 +67,6 @@ SRCREV_machine="76e10d158efb6d4516018846f60c2ab5501900bc"
>> PR = "r1"
>> PV = "${LINUX_VERSION}+git${SRCPV}"
>>
>> -# Override COMPATIBLE_MACHINE to include your machine in a bbappend
>> +# Override COMPATIBLE_MACHINE to include your machine in a copy of this recipe
>> # file. Leaving it empty here ensures an early explicit build failure.
>> COMPATIBLE_MACHINE = "(^$)"
>> --
>> 2.1.0
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
next prev parent reply other threads:[~2015-05-22 0:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 19:08 [PATCH 0/7] linux-yocto: consolidated pull request Bruce Ashfield
2015-05-21 19:08 ` [PATCH 1/7] linux-yocto/3.14: cavium and configuration changes Bruce Ashfield
2015-05-21 19:08 ` [PATCH 2/7] linux-yocto/3.19: braswell DRM/i915 Graphics fixes Bruce Ashfield
2015-05-21 19:08 ` [PATCH 3/7] linux-yocto-custom: clarify bbappend versus copy in comments Bruce Ashfield
2015-05-21 21:55 ` Andre McCurdy
2015-05-22 0:59 ` Bruce Ashfield [this message]
2015-05-22 1:19 ` Andre McCurdy
2015-05-22 1:31 ` Bruce Ashfield
2015-05-21 19:08 ` [PATCH 4/7] linux-yocto: drop suggestion of devshell for patch failures Bruce Ashfield
2015-05-21 19:08 ` [PATCH 5/7] linux-yocto/3.19: Braswell DRM fixes Bruce Ashfield
2015-05-21 19:08 ` [PATCH 6/7] linux-yocto/3.19: CONFIG_ATA_BMDMA and gcc5 ARM64 Bruce Ashfield
2015-05-21 19:08 ` [PATCH 7/7] linux-yocto/3.19: NFC config, Braswell fixes and axxia support Bruce Ashfield
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=555E7F62.8070107@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=armccurdy@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox