]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Move headers check into bash script
authorJiri Olsa <jolsa@kernel.org>
Tue, 6 Dec 2016 13:18:51 +0000 (14:18 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Dec 2016 19:25:44 +0000 (16:25 -0300)
commit1a122380ba10490b0cc6a22173fb6bc84ff7641a
tree6dcebbf7bbc1d4bd32121d0adc000c5897457e15
parent3868c6f369b5df67346ef55317532e618c26505f
perf tools: Move headers check into bash script

To make it nicer and easily maintainable.

Also moving the check into fixdep sub make, so its output is not
scattered around the build output.

Removing extra $$ from mman*.h checks.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1481030331-31944-5-git-send-email-jolsa@kernel.org
[ Use /bin/sh, and 'function check() {' -> 'check () {' to make it work with busybox, in Alpine Linux, for instance ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/check-headers.sh [new file with mode: 0755]