]> git.baikalelectronics.ru Git - kernel.git/commit
perf build: Do not fail on missing Build file
authorJiri Olsa <jolsa@kernel.org>
Fri, 29 May 2015 15:42:58 +0000 (17:42 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 May 2015 15:44:25 +0000 (12:44 -0300)
commitf2102f8b102434096156f62de1ffd7e4f5199aa8
tree971de6e2f10730f3e2ca4abf770f950079923790
parentfec45d4da34692ff2521380716498080007e0b06
perf build: Do not fail on missing Build file

Allow nesting into directories without Build file. Currently we force
include of the Build file, which fails the build when the Build file is
missing.

We already support empty *-in.o' objects if there's nothing in the
directory to be compiled, so we can just use it for missing Build file
cases.

Also adding this case under tests.

Reported-by: Rabin Vincent <rabin.vincent@axis.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rabin Vincent <rabin.vincent@axis.com>
Link: http://lkml.kernel.org/r/1432914178-24086-1-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/Makefile.build
tools/build/tests/ex/Build
tools/build/tests/ex/empty2/README [new file with mode: 0644]