summaryrefslogtreecommitdiff
path: root/tools/build/tests
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-09-23 12:33:56 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-09-28 15:50:54 -0300
commitab6201d09b1840c7ffcd6606c1d3dae68b8b3048 (patch)
tree0e23136aa28cd1fcc259c79e12ba0a1ff42f2b0e /tools/build/tests
parentdc240c5dc2a02e335c5bcb50ad3a1274818c8609 (diff)
tools build: Add Makefile.include
To ease up build framework code setup for users. More shared code will be added in the following patches. Signed-off-by: Jiri Olsa <jolsa@kernel.org> 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/1443004442-32660-2-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/tests')
-rw-r--r--tools/build/tests/ex/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/build/tests/ex/Makefile b/tools/build/tests/ex/Makefile
index 52d2476073a3..a8f596e37fd2 100644
--- a/tools/build/tests/ex/Makefile
+++ b/tools/build/tests/ex/Makefile
@@ -3,7 +3,8 @@ export CC := gcc
export LD := ld
export AR := ar
-build := -f $(srctree)/tools/build/Makefile.build dir=. obj
+include $(srctree)/tools/build/Makefile.include
+
ex: ex-in.o libex-in.o
gcc -o $@ $^