summaryrefslogtreecommitdiffstats
path: root/tools/build/Makefile.build
diff options
context:
space:
mode:
authorJiri Olsa2015-05-29 17:42:58 +0200
committerArnaldo Carvalho de Melo2015-05-29 17:44:25 +0200
commitd7a3d85e08477a979933a2bb3b525a8de99543c2 (patch)
tree971de6e2f10730f3e2ca4abf770f950079923790 /tools/build/Makefile.build
parentperf machine: Fix up vdso methods names (diff)
downloadkernel-qcow2-linux-d7a3d85e08477a979933a2bb3b525a8de99543c2.tar.gz
kernel-qcow2-linux-d7a3d85e08477a979933a2bb3b525a8de99543c2.tar.xz
kernel-qcow2-linux-d7a3d85e08477a979933a2bb3b525a8de99543c2.zip
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>
Diffstat (limited to 'tools/build/Makefile.build')
-rw-r--r--tools/build/Makefile.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build
index 10df57237a66..69c35cf09cad 100644
--- a/tools/build/Makefile.build
+++ b/tools/build/Makefile.build
@@ -37,7 +37,7 @@ subdir-obj-y :=
# Build definitions
build-file := $(dir)/Build
-include $(build-file)
+-include $(build-file)
quiet_cmd_flex = FLEX $@
quiet_cmd_bison = BISON $@