summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/Makefile
diff options
context:
space:
mode:
authorJiri Olsa2015-09-23 12:33:56 +0200
committerArnaldo Carvalho de Melo2015-09-28 20:50:54 +0200
commitab6201d09b1840c7ffcd6606c1d3dae68b8b3048 (patch)
tree0e23136aa28cd1fcc259c79e12ba0a1ff42f2b0e /tools/lib/bpf/Makefile
parenttools lib api fs: Store tracing mountpoint for better error message (diff)
downloadkernel-qcow2-linux-ab6201d09b1840c7ffcd6606c1d3dae68b8b3048.tar.gz
kernel-qcow2-linux-ab6201d09b1840c7ffcd6606c1d3dae68b8b3048.tar.xz
kernel-qcow2-linux-ab6201d09b1840c7ffcd6606c1d3dae68b8b3048.zip
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/lib/bpf/Makefile')
-rw-r--r--tools/lib/bpf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index e630f9fc4fb6..c66ade68d4a1 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -124,7 +124,7 @@ endif
MAKEOVERRIDES=
export srctree OUTPUT CC LD CFLAGS V
-build := -f $(srctree)/tools/build/Makefile.build dir=. obj
+include $(srctree)/tools/build/Makefile.include
BPF_IN := $(OUTPUT)libbpf-in.o
LIB_FILE := $(addprefix $(OUTPUT),$(LIB_FILE))