]> git.karo-electronics.de Git - linux-beck.git/commit
perf build: Test correct path of perf in build-test
authorWang Nan <wangnan0@huawei.com>
Fri, 15 Jan 2016 04:00:15 +0000 (04:00 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Jan 2016 19:31:59 +0000 (16:31 -0300)
commit68824de19a0b4cdc17193cb004c55d82c06af8bd
treede5ffd246780bf40456e53259bfd6a70345dcf84
parenteb807730c034090599135bc03578015ebf8974af
perf build: Test correct path of perf in build-test

If an 'O' is passed to 'make build-test', many 'test -x' and 'test -f'
will fail because perf resides in a different directory. Fix this by
computing PERF_OUT according to 'O' and test correct output files.
For make_kernelsrc and make_kernelsrc_tools, set KBUILD_OUTPUT_DIR
instead because the path is different from others ($(O)/perf vs
 $(O)/tools/perf).

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1452830421-77757-4-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/make