diff options
| author | Petter Mabäcker <petter@technux.se> | 2014-05-12 15:55:29 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-13 19:32:05 +0100 |
| commit | bf359458a9596a894ef1d1a755d11cb135817d6d (patch) | |
| tree | 0e159586ec3f3887991a2cf4fa1b290abd5661d9 /meta/recipes-kernel/trace-cmd/kernelshark | |
| parent | 845a25342f57b2b07bbdb92f37c6fdd32c8d6002 (diff) | |
| download | poky-bf359458a9596a894ef1d1a755d11cb135817d6d.tar.gz | |
trace-cmd: refactoring recipe
Fixes [YOCTO #4497]
Refactoring recipe to avoid duplicated entries in trace-cmd and
kernelshark bb-files. Also remove usage of FILESPATH and split package
unique patches into separate dirs.
(From OE-Core rev: bc57d7041e126850245e4a5ab0211979b49b97ff)
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/trace-cmd/kernelshark')
| -rw-r--r-- | meta/recipes-kernel/trace-cmd/kernelshark/kernelshark-fix-syntax-error-of-shell.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/kernelshark/kernelshark-fix-syntax-error-of-shell.patch b/meta/recipes-kernel/trace-cmd/kernelshark/kernelshark-fix-syntax-error-of-shell.patch new file mode 100644 index 0000000000..faef049fec --- /dev/null +++ b/meta/recipes-kernel/trace-cmd/kernelshark/kernelshark-fix-syntax-error-of-shell.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | kernelshark: fix syntax error of shell | ||
| 2 | |||
| 3 | Delete "<<<" syntax of bash in Makefile, else we would get following error: | ||
| 4 | |||
| 5 | Syntax error: redirection unexpected | ||
| 6 | |||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | ||
| 10 | --- | ||
| 11 | Makefile | 3 +-- | ||
| 12 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/Makefile b/Makefile | ||
| 15 | index c1fa906..be84415 100644 | ||
| 16 | --- a/Makefile | ||
| 17 | +++ b/Makefile | ||
| 18 | @@ -89,8 +89,7 @@ endif | ||
| 19 | |||
| 20 | # $(call test-build, snippet, ret) -> ret if snippet compiles | ||
| 21 | # -> empty otherwise | ||
| 22 | -test-build = $(if $(shell $(CC) -o /dev/null -c -x c - > /dev/null 2>&1 \ | ||
| 23 | - <<<'$1' && echo y), $2) | ||
| 24 | +test-build = $(if $(shell echo '$1' |$(CC) -o /dev/null -c -x c - > /dev/null 2>&1 && echo y), $2) | ||
| 25 | |||
| 26 | # have udis86 disassembler library? | ||
| 27 | udis86-flags := $(call test-build,\#include <udis86.h>,-DHAVE_UDIS86 -ludis86) | ||
| 28 | -- | ||
| 29 | 1.7.9.5 | ||
| 30 | |||
