Lines Matching full:output
19 ifneq ($(OUTPUT),)
20 LIBBPF_OUTPUT = $(OUTPUT)/libbpf/
32 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) $(LIBBPF_OUTPUT)libbpf.a
36 $(Q)$(MAKE) -C $(BPF_DIR) OUTPUT=$(LIBBPF_OUTPUT) clean >/dev/null
45 -I$(if $(OUTPUT),$(OUTPUT),.) \
100 include $(wildcard $(OUTPUT)*.d)
102 all: $(OUTPUT)bpftool
121 BPFTOOL_BOOTSTRAP := $(if $(OUTPUT),$(OUTPUT)bpftool-bootstrap,./bpftool-bootstrap)
123 BOOTSTRAP_OBJS = $(addprefix $(OUTPUT),main.o common.o json_writer.o gen.o btf.o)
124 OBJS = $(patsubst %.c,$(OUTPUT)%.o,$(SRCS)) $(OUTPUT)disasm.o
138 $(OUTPUT)vmlinux.h: $(VMLINUX_BTF) $(BPFTOOL_BOOTSTRAP)
145 $(OUTPUT)%.bpf.o: skeleton/%.bpf.c $(OUTPUT)vmlinux.h $(LIBBPF)
147 -I$(if $(OUTPUT),$(OUTPUT),.) \
153 $(OUTPUT)%.skel.h: $(OUTPUT)%.bpf.o $(BPFTOOL_BOOTSTRAP)
156 $(OUTPUT)prog.o: $(OUTPUT)profiler.skel.h
158 $(OUTPUT)pids.o: $(OUTPUT)pid_iter.skel.h
165 $(OUTPUT)disasm.o: $(srctree)/kernel/bpf/disasm.c
168 $(OUTPUT)feature.o: | zdep
173 $(OUTPUT)bpftool: $(OBJS) $(LIBBPF)
176 $(OUTPUT)%.o: %.c
185 $(Q)$(RM) -- $(OUTPUT)bpftool $(OUTPUT)*.o $(OUTPUT)*.d
186 $(Q)$(RM) -- $(BPFTOOL_BOOTSTRAP) $(OUTPUT)*.skel.h $(OUTPUT)vmlinux.h
187 $(Q)$(RM) -r -- $(OUTPUT)libbpf/
189 $(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpftool
190 $(Q)$(RM) -r -- $(OUTPUT)feature/
192 install: $(OUTPUT)bpftool
195 $(Q)$(INSTALL) $(OUTPUT)bpftool $(DESTDIR)$(prefix)/sbin/bpftool