Re: [PATCH 02/52] tools/perf/build: Add feature check core code

2013-10-10 Thread Namhyung Kim
On Thu, 10 Oct 2013 09:21:21 +0200, Ingo Molnar wrote: > * Namhyung Kim wrote: > >> Hi Ingo, >> >> On Tue, 8 Oct 2013 12:10:32 +0200, Ingo Molnar wrote: >> > +feature_check = $(eval $(feature_check_code)); $(info CHK: >> > config/feature-checks/test-$(1)) >> > +define feature_check_code >> > +

Re: [PATCH 02/52] tools/perf/build: Add feature check core code

2013-10-10 Thread Ingo Molnar
* Namhyung Kim wrote: > Hi Ingo, > > On Tue, 8 Oct 2013 12:10:32 +0200, Ingo Molnar wrote: > > +feature_check = $(eval $(feature_check_code)); $(info CHK: > > config/feature-checks/test-$(1)) > > +define feature_check_code > > + feature-$(2) := $(shell make -C config/feature-checks test-$1 >

Re: [PATCH 02/52] tools/perf/build: Add feature check core code

2013-10-09 Thread Namhyung Kim
Hi Ingo, On Tue, 8 Oct 2013 12:10:32 +0200, Ingo Molnar wrote: > +feature_check = $(eval $(feature_check_code)); $(info CHK: > config/feature-checks/test-$(1)) > +define feature_check_code > + feature-$(2) := $(shell make -C config/feature-checks test-$1 >/dev/null > 2>/dev/null && echo 1 || e

[PATCH 02/52] tools/perf/build: Add feature check core code

2013-10-08 Thread Ingo Molnar
Start the split-out of the feature check code by adding a list of features to be tested, and rules to process that list by building its matching feature-check file in config/feature-checks/test-.c. Add 'hello' as the initial feature. This structure will allow us to build split-out feature checks