[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-26 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Adding also arch/$(ARCH)/Build files for the rest of the archs. The reason for this is that in arch/Build we now do: +libperf-y += $(ARCH)/ which would make the build to fail on other

[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-26 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Adding also arch/$(ARCH)/Build files for the rest of the archs. The reason for this is that in arch/Build we now do: +libperf-y += $(ARCH)/ which would make the build to fail on other

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-22 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 02:45:56PM -0700, David Ahern wrote: > On 1/21/15 2:31 PM, Jiri Olsa wrote: > >the thing is that in arch/Build we now do: > > > >+libperf-y += $(ARCH)/ > > > >which would make the build to fail on other architectures, > >because the build framework requires 'Build' file in

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-22 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 02:45:56PM -0700, David Ahern wrote: On 1/21/15 2:31 PM, Jiri Olsa wrote: the thing is that in arch/Build we now do: +libperf-y += $(ARCH)/ which would make the build to fail on other architectures, because the build framework requires 'Build' file in nested

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread David Ahern
On 1/21/15 2:31 PM, Jiri Olsa wrote: the thing is that in arch/Build we now do: +libperf-y += $(ARCH)/ which would make the build to fail on other architectures, because the build framework requires 'Build' file in nested directories.. and this patch adds it only for x86 ok. perhaps add that

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 02:17:48PM -0700, David Ahern wrote: > On 1/20/15 9:39 AM, Jiri Olsa wrote: > >--- > > tools/perf/arch/Build | 1 + > > tools/perf/arch/arm/Build | 0 > > tools/perf/arch/arm64/Build | 0 > > tools/perf/arch/powerpc/Build | 0 > >

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread David Ahern
On 1/20/15 9:39 AM, Jiri Olsa wrote: --- tools/perf/arch/Build | 1 + tools/perf/arch/arm/Build | 0 tools/perf/arch/arm64/Build | 0 tools/perf/arch/powerpc/Build | 0 tools/perf/arch/s390/Build | 0 tools/perf/arch/sh/Build| 0

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread David Ahern
On 1/20/15 9:39 AM, Jiri Olsa wrote: --- tools/perf/arch/Build | 1 + tools/perf/arch/arm/Build | 0 tools/perf/arch/arm64/Build | 0 tools/perf/arch/powerpc/Build | 0 tools/perf/arch/s390/Build | 0 tools/perf/arch/sh/Build| 0

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread David Ahern
On 1/21/15 2:31 PM, Jiri Olsa wrote: the thing is that in arch/Build we now do: +libperf-y += $(ARCH)/ which would make the build to fail on other architectures, because the build framework requires 'Build' file in nested directories.. and this patch adds it only for x86 ok. perhaps add that

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 02:17:48PM -0700, David Ahern wrote: On 1/20/15 9:39 AM, Jiri Olsa wrote: --- tools/perf/arch/Build | 1 + tools/perf/arch/arm/Build | 0 tools/perf/arch/arm64/Build | 0 tools/perf/arch/powerpc/Build | 0 tools/perf/arch/s390/Build

[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-20 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-20 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Alexis Berlemont alexis.berlem...@gmail.com Cc: Arnaldo Carvalho de Melo a...@redhat.com Cc: Borislav Petkov b...@alien8.de Cc: Corey Ashford

[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-15 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-15 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Alexis Berlemont alexis.berlem...@gmail.com Cc: Arnaldo Carvalho de Melo a...@redhat.com Cc: Borislav Petkov b...@alien8.de Cc: Corey Ashford