From: Chong Lu <Chong.Lu@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] kernelshark/trace-cmd: fix syntax error of shell
Date: Wed, 9 Apr 2014 17:36:40 +0800 [thread overview]
Message-ID: <534514A8.7050009@windriver.com> (raw)
In-Reply-To: <1397035724.24597.136.camel@ted>
On 04/09/2014 05:28 PM, Richard Purdie wrote:
> On Wed, 2014-04-09 at 15:49 +0800, Chong Lu wrote:
>> On 04/08/2014 06:08 PM, Richard Purdie wrote:
>>> On Tue, 2014-04-08 at 09:40 +0800, Chong Lu wrote:
>>>> On 04/04/2014 06:41 PM, Richard Purdie wrote:
>>>>> On Fri, 2014-04-04 at 16:33 +0800, Chong Lu wrote:
>>>>>> Delete "<<<" syntax of bash in Makefile, else we would get following error:
>>>>>>
>>>>>> Syntax error: redirection unexpected
>>>>>>
>>>>>> [YOCTO #6112]
>>>>>>
>>>>>> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
>>>>>> ---
>>>>>> meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb | 3 ++-
>>>>>> .../kernelshark-fix-syntax-error-of-shell.patch | 30 ++++++++++++++++++++++
>>>>>> .../trace-cmd-fix-syntax-error-of-shell.patch | 30 ++++++++++++++++++++++
>>>>>> meta/recipes-kernel/trace-cmd/trace-cmd_1.2.bb | 1 +
>>>>>> 4 files changed, 63 insertions(+), 1 deletion(-)
>>>>>> create mode 100644 meta/recipes-kernel/trace-cmd/trace-cmd/kernelshark-fix-syntax-error-of-shell.patch
>>>>>> create mode 100644 meta/recipes-kernel/trace-cmd/trace-cmd/trace-cmd-fix-syntax-error-of-shell.patch
>>>>>>
>>>>>> diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb b/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb
>>>>>> index 9268a50..d61097d 100644
>>>>>> --- a/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb
>>>>>> +++ b/meta/recipes-kernel/trace-cmd/kernelshark_1.2.bb
>>>>>> @@ -15,7 +15,8 @@ inherit pkgconfig pythonnative
>>>>>> SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git \
>>>>>> file://addldflags.patch \
>>>>>> file://make-docs-optional.patch \
>>>>>> - file://blktrace-api-compatibility.patch"
>>>>>> + file://blktrace-api-compatibility.patch \
>>>>>> + file://kernelshark-fix-syntax-error-of-shell.patch"
>>>>>> S = "${WORKDIR}/git"
>>>>>>
>>>>>> EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'prefix=${prefix}' gui"
>>>>>> diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd/kernelshark-fix-syntax-error-of-shell.patch b/meta/recipes-kernel/trace-cmd/trace-cmd/kernelshark-fix-syntax-error-of-shell.patch
>>>>>> new file mode 100644
>>>>>> index 0000000..994a9fa
>>>>>> --- /dev/null
>>>>>> +++ b/meta/recipes-kernel/trace-cmd/trace-cmd/kernelshark-fix-syntax-error-of-shell.patch
>>>>>> @@ -0,0 +1,30 @@
>>>>>> +kernelshark: fix syntax error of shell
>>>>>> +
>>>>>> +Delete "<<<" syntax of bash in Makefile, else we would get following error:
>>>>>> +
>>>>>> + Syntax error: redirection unexpected
>>>>>> +
>>>>>> +Upstream-Status: Inappropriate [embedded specific]
>>>>> How is this embedded specific?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Richard
>>>> This issue only produced in yocto.
>>>> It is not problem for kernelshark and trace-cmd itself.
>>>> So I think this is embedded specific.
>>> I'm afraid I don't accept this explanation. Is Yocto's make different
>>> somehow which causes this error?
>>>
>>> I don't understand why yocto would see this error yet other systems
>>> (which use the same make as far as I know) would not.
>>>
>>> Cheers,
>>>
>>> Richard
>>>
>> Hi Richard,
>>
>> I built kernelshark and trace-cmd in Ubuntu 12.04.
>> The dash is default shell in this distrobution.
>> So, this issue would produce only on host that the default shell is not
>> bash.
> Right, so the Upstream-Status is not "embedded specific", its a general
> problems for shells which are not bash?
>
> Cheers,
>
> Richard
>
Ok, thanks. I got it. I will resend V2.
Best Regards
Chong
>
prev parent reply other threads:[~2014-04-09 9:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-04 8:33 [PATCH 0/1] kernelshark/trace-cmd: fix syntax error of shell Chong Lu
2014-04-04 8:33 ` [PATCH 1/1] " Chong Lu
2014-04-04 10:41 ` Richard Purdie
2014-04-08 1:40 ` Chong Lu
2014-04-08 10:08 ` Richard Purdie
2014-04-09 7:49 ` Chong Lu
2014-04-09 9:28 ` Richard Purdie
2014-04-09 9:36 ` Chong Lu [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=534514A8.7050009@windriver.com \
--to=chong.lu@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 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.