Lines Matching refs:srctree
5 srctree := $(realpath $(srctree))
16 # This will work when bpf is built in tools env. where srctree
17 # isn't set and when invoked from selftests build, where srctree
18 # is a ".". building_out_of_srctree is undefined for in srctree
21 srctree := $(patsubst %/,%,$(dir $(CURDIR)))
22 srctree := $(patsubst %/,%,$(dir $(srctree)))
23 srctree := $(patsubst %/,%,$(dir $(srctree)))
24 #$(info Determined 'srctree' to be $(srctree))
36 include $(srctree)/tools/scripts/Makefile.arch
60 include $(srctree)/tools/scripts/Makefile.include
65 -I$(srctree)/tools/include -I$(srctree)/tools/include/uapi \
66 -I$(srctree)/tools/arch/$(SRCARCH)/include
102 export srctree OUTPUT CC LD CFLAGS V
103 include $(srctree)/tools/build/Makefile.include
148 $(SILENT_MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= OUTPUT=$(SHARED_OBJDIR) $(SHARED_OBJDIR)fixdep
152 $(SILENT_MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= OUTPUT=$(STATIC_OBJDIR) $(STATIC_OBJDIR)fixdep
155 $(BPF_HELPER_DEFS): $(srctree)/tools/include/uapi/linux/bpf.h
156 $(QUIET_GEN)$(srctree)/scripts/bpf_doc.py --header \
157 --file $(srctree)/tools/include/uapi/linux/bpf.h > $(BPF_HELPER_DEFS)
274 cscope -b -q -I $(srctree)/include -f cscope.out