Openembedded Core Discussions
 help / color / mirror / Atom feed
* [daisy][PATCH 1/2] perf: explicitly disable libunwind
@ 2014-08-10  9:38 Martin Jansa
  2014-08-10  9:38 ` [daisy][PATCH 2/2] perf: fix indentation Martin Jansa
  2014-08-11  2:47 ` [daisy][PATCH 1/2] perf: explicitly disable libunwind akuster
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jansa @ 2014-08-10  9:38 UTC (permalink / raw)
  To: openembedded-core

* it's not included in DEPENDS and it's detected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-kernel/perf/perf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 20968f9..9776943 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -76,7 +76,7 @@ EXTRA_OEMAKE = \
 		CC="${CC}" \
 		AR="${AR}" \
 		perfexecdir=${libexecdir} \
-		NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \
+		NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 NO_LIBUNWIND=1 ${SCRIPTING_DEFINES} \
 		'
 
 EXTRA_OEMAKE += "\
-- 
2.0.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [daisy][PATCH 2/2] perf: fix indentation
  2014-08-10  9:38 [daisy][PATCH 1/2] perf: explicitly disable libunwind Martin Jansa
@ 2014-08-10  9:38 ` Martin Jansa
  2014-08-11 10:03   ` Richard Purdie
  2014-08-11  2:47 ` [daisy][PATCH 1/2] perf: explicitly disable libunwind akuster
  1 sibling, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2014-08-10  9:38 UTC (permalink / raw)
  To: openembedded-core

* multiline variables should use spaces not tabs for indentation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-kernel/perf/perf.bb | 54 ++++++++++++++++++++--------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 9776943..71e2b28 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -22,13 +22,13 @@ TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt slang', '',d)}"
 SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}"
 
 DEPENDS = "virtual/kernel \
-           virtual/${MLPREFIX}libc \
-           ${MLPREFIX}elfutils \
-           ${MLPREFIX}binutils \
-           ${TUI_DEPENDS} \
-           ${SCRIPTING_DEPENDS} \
-           bison flex \
-          "
+    virtual/${MLPREFIX}libc \
+    ${MLPREFIX}elfutils \
+    ${MLPREFIX}binutils \
+    ${TUI_DEPENDS} \
+    ${SCRIPTING_DEPENDS} \
+    bison flex \
+"
 
 PROVIDES = "virtual/perf"
 
@@ -68,28 +68,28 @@ TUI_DEFINES = "${@perf_feature_enabled('perf-tui', '', 'NO_NEWT=1',d)}"
 # supported kernel.
 LDFLAGS="-ldl -lutil"
 
-EXTRA_OEMAKE = \
-		'-C ${S}/tools/perf \
-		O=${B} \
-		CROSS_COMPILE=${TARGET_PREFIX} \
-		ARCH=${ARCH} \
-		CC="${CC}" \
-		AR="${AR}" \
-		perfexecdir=${libexecdir} \
-		NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 NO_LIBUNWIND=1 ${SCRIPTING_DEFINES} \
-		'
+EXTRA_OEMAKE = '\
+    -C ${S}/tools/perf \
+    O=${B} \
+    CROSS_COMPILE=${TARGET_PREFIX} \
+    ARCH=${ARCH} \
+    CC="${CC}" \
+    AR="${AR}" \
+    perfexecdir=${libexecdir} \
+    NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 NO_LIBUNWIND=1 ${SCRIPTING_DEFINES} \
+'
 
 EXTRA_OEMAKE += "\
-	'prefix=${prefix}' \
-	'bindir=${bindir}' \
-	'sharedir=${datadir}' \
-	'sysconfdir=${sysconfdir}' \
-	'perfexecdir=${libexecdir}/perf-core' \
-	\
-	'ETC_PERFCONFIG=${@os.path.relpath(sysconfdir, prefix)}' \
-	'sharedir=${@os.path.relpath(datadir, prefix)}' \
-	'mandir=${@os.path.relpath(mandir, prefix)}' \
-	'infodir=${@os.path.relpath(infodir, prefix)}' \
+    'prefix=${prefix}' \
+    'bindir=${bindir}' \
+    'sharedir=${datadir}' \
+    'sysconfdir=${sysconfdir}' \
+    'perfexecdir=${libexecdir}/perf-core' \
+    \
+    'ETC_PERFCONFIG=${@os.path.relpath(sysconfdir, prefix)}' \
+    'sharedir=${@os.path.relpath(datadir, prefix)}' \
+    'mandir=${@os.path.relpath(mandir, prefix)}' \
+    'infodir=${@os.path.relpath(infodir, prefix)}' \
 "
 
 # PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
-- 
2.0.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [daisy][PATCH 1/2] perf: explicitly disable libunwind
  2014-08-10  9:38 [daisy][PATCH 1/2] perf: explicitly disable libunwind Martin Jansa
  2014-08-10  9:38 ` [daisy][PATCH 2/2] perf: fix indentation Martin Jansa
@ 2014-08-11  2:47 ` akuster
  1 sibling, 0 replies; 5+ messages in thread
From: akuster @ 2014-08-11  2:47 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core



On 08/10/2014 02:38 AM, Martin Jansa wrote:
> * it's not included in DEPENDS and it's detected from sysroot
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Acked-by: Armin Kuster <akuster808@gmail.com>

> ---
>   meta/recipes-kernel/perf/perf.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
> index 20968f9..9776943 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -76,7 +76,7 @@ EXTRA_OEMAKE = \
>   		CC="${CC}" \
>   		AR="${AR}" \
>   		perfexecdir=${libexecdir} \
> -		NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 ${SCRIPTING_DEFINES} \
> +		NO_GTK2=1 ${TUI_DEFINES} NO_DWARF=1 NO_LIBUNWIND=1 ${SCRIPTING_DEFINES} \
>   		'
>
>   EXTRA_OEMAKE += "\
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [daisy][PATCH 2/2] perf: fix indentation
  2014-08-10  9:38 ` [daisy][PATCH 2/2] perf: fix indentation Martin Jansa
@ 2014-08-11 10:03   ` Richard Purdie
  2014-08-11 10:21     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2014-08-11 10:03 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Sun, 2014-08-10 at 11:38 +0200, Martin Jansa wrote:
> * multiline variables should use spaces not tabs for indentation
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/recipes-kernel/perf/perf.bb | 54 ++++++++++++++++++++--------------------
>  1 file changed, 27 insertions(+), 27 deletions(-)

Do we really need to backport whitespace changes?

Cheers,

Richard



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [daisy][PATCH 2/2] perf: fix indentation
  2014-08-11 10:03   ` Richard Purdie
@ 2014-08-11 10:21     ` Martin Jansa
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2014-08-11 10:21 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

On Mon, Aug 11, 2014 at 11:03:23AM +0100, Richard Purdie wrote:
> On Sun, 2014-08-10 at 11:38 +0200, Martin Jansa wrote:
> > * multiline variables should use spaces not tabs for indentation
> > 
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ---
> >  meta/recipes-kernel/perf/perf.bb | 54 ++++++++++++++++++++--------------------
> >  1 file changed, 27 insertions(+), 27 deletions(-)
> 
> Do we really need to backport whitespace changes?

It will make next possible backports to perf easier, but feel free to
skip this.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-11 10:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-10  9:38 [daisy][PATCH 1/2] perf: explicitly disable libunwind Martin Jansa
2014-08-10  9:38 ` [daisy][PATCH 2/2] perf: fix indentation Martin Jansa
2014-08-11 10:03   ` Richard Purdie
2014-08-11 10:21     ` Martin Jansa
2014-08-11  2:47 ` [daisy][PATCH 1/2] perf: explicitly disable libunwind akuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox