From: He Zhe <zhe.he@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: bruce.ashfield@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 2/2] kernel: Pass sysroot mkimage to kernel makefile
Date: Fri, 24 Jul 2015 18:16:36 +0800 [thread overview]
Message-ID: <55B21084.9080307@windriver.com> (raw)
In-Reply-To: <1437666911.821.126.camel@linuxfoundation.org>
On 07/23/2015 11:55 PM, Richard Purdie wrote:
> On Tue, 2015-07-21 at 15:23 +0800, zhe.he@windriver.com wrote:
>> From: He Zhe <zhe.he@windriver.com>
>>
>> Pass mkimage in sysroot to kernel makefile by NATIVE_MKIMAGE to avoid
>> depending on build machine's when KEEPUIMAGE is "yes".
>>
>> Fixes [YOCTO #6945].
>>
>> Signed-off-by: He Zhe <zhe.he@windriver.com>
>> ---
>> meta/classes/kernel.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
>> index 86ed28f..1d7fa48 100644
>> --- a/meta/classes/kernel.bbclass
>> +++ b/meta/classes/kernel.bbclass
>> @@ -141,7 +141,7 @@ UBOOT_ENTRYPOINT ?= "20008000"
>> UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
>>
>> # Some Linux kernel configurations need additional parameters on the command line
>> -KERNEL_EXTRA_ARGS ?= ""
>> +KERNEL_EXTRA_ARGS ?= "NATIVE_MKIMAGE=${STAGING_BINDIR_NATIVE}/mkimage"
>>
>> # For the kernel, we don't want the '-e MAKEFLAGS=' in EXTRA_OEMAKE.
>> # We don't want to override kernel Makefile variables from the environment
> ${STAGING_BINDIR_NATIVE} should be in PATH ahead of the usual system
> paths. Why therefore is this necessary? Is something resetting PATH?
You are right. There's no need to modify KERNEL_EXTRA_ARGS. Actually I made a mistake when I verified mkimage... I'll delete this patch in next version. Thank you for reviewing.
BTW, what about [PATCH v2 1/2] ?
Zhe
> Cheers,
>
> Richard
>
>
>
next prev parent reply other threads:[~2015-07-24 10:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-21 7:23 [PATCH v2 0/2] Yocto Bug #6945 zhe.he
2015-07-21 7:23 ` [PATCH v2 1/2] kernel: Define KERNEL_IMAGETYPE as a list zhe.he
2015-07-21 14:53 ` Christopher Larson
2015-07-22 2:29 ` He Zhe
2015-07-31 11:24 ` Richard Purdie
2015-07-31 11:45 ` He Zhe
2015-07-31 14:39 ` Richard Purdie
2015-07-21 7:23 ` [PATCH v2 2/2] kernel: Pass sysroot mkimage to kernel makefile zhe.he
2015-07-23 15:55 ` Richard Purdie
2015-07-24 10:16 ` He Zhe [this message]
2015-07-23 7:48 ` [PATCH v2 0/2] Yocto Bug #6945 He Zhe
2015-07-27 2:51 ` He Zhe
2015-07-28 3:17 ` He Zhe
2015-07-29 7:32 ` He Zhe
2015-07-29 13:23 ` Bruce Ashfield
2015-07-31 8:40 ` He Zhe
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=55B21084.9080307@windriver.com \
--to=zhe.he@windriver.com \
--cc=bruce.ashfield@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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