Searched refs:CLANG (Results 1 - 13 of 13) sorted by relevance

/linux-master/kernel/bpf/preload/iterators/
H A DMakefile5 CLANG ?= clang macro
53 $(Q)$(CLANG) -g -O2 --target=bpf -m$* $(INCLUDES) \
/linux-master/samples/hid/
H A DMakefile59 # Allows pointing LLC/CLANG to a LLVM backend with bpf support, redefine on cmdline:
60 # make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/bin/clang
62 CLANG ?= clang macro
89 $(CLANG) --target=bpf -O2 -g -c -x c - -o ./llvm_btf_verify.o; \
136 .PHONY: verify_cmds verify_target_bpf $(CLANG) $(LLC)
138 verify_cmds: $(CLANG) $(LLC)
195 CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG))
200 @echo " CLANG-BPF " $@
201 $(Q)$(CLANG) -g -O2 --target=bpf -D__TARGET_ARCH_$(SRCARCH) \
234 @echo " CLANG
[all...]
/linux-master/drivers/hid/bpf/entrypoints/
H A DMakefile5 CLANG ?= clang macro
61 $(Q)$(CLANG) -g -O2 --target=bpf $(INCLUDES) \
/linux-master/tools/testing/selftests/net/
H A DMakefile111 CLANG ?= clang macro
143 CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG),$(CLANG_TARGET_ARCH))
146 $(CLANG) -O2 --target=bpf -c $< $(CCINCLUDE) $(CLANG_SYS_INCLUDES) -o $@
/linux-master/tools/testing/selftests/hid/
H A DMakefile184 CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG))
197 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v3 -o $2
202 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v2 -o $2
/linux-master/samples/bpf/
H A DMakefile199 # Allows pointing LLC/CLANG to a LLVM backend with bpf support, redefine on cmdline:
200 # make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/bin/clang
202 CLANG ?= clang macro
229 $(CLANG) --target=bpf -O2 -g -c -x c - -o ./llvm_btf_verify.o; \
283 .PHONY: verify_cmds verify_target_bpf $(CLANG) $(LLC)
285 verify_cmds: $(CLANG) $(LLC)
361 CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG))
366 @echo " CLANG-BPF " $@
367 $(Q)$(CLANG) -g -O2 --target=bpf -D__TARGET_ARCH_$(SRCARCH) \
399 @echo " CLANG
[all...]
/linux-master/tools/bpf/runqslower/
H A DMakefile65 $(QUIET_GEN)$(CLANG) -g -O2 --target=bpf $(INCLUDES) \
/linux-master/tools/testing/selftests/bpf/
H A DMakefile63 ifneq ($(shell $(CLANG) --target=bpf -mcpu=help 2>&1 | grep 'v4'),)
230 $(Q)$(CLANG) $(CLANG_TARGET_ARCH) \
239 $(Q)$(CLANG) $(CLANG_TARGET_ARCH) \
409 CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG),$(CLANG_TARGET_ARCH))
430 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v3 -o $2
435 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v2 -o $2
440 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v4 -o $2
/linux-master/tools/scripts/
H A DMakefile.include88 CLANG ?= clang
167 QUIET_CLANG = @echo ' CLANG '$@;
/linux-master/tools/bpf/bpftool/
H A DMakefile214 $(QUIET_CLANG)$(CLANG) \
/linux-master/tools/perf/
H A DMakefile.config687 else ifeq ($(call get-executable,$(CLANG)),)
688 $(warning Warning: Disabled BPF skeletons as clang ($(CLANG)) is missing)
691 CLANG_VERSION := $(shell $(CLANG) --version | head -1 | sed 's/.*clang version \([[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+\).*/\1/g')
693 $(warning Warning: Disabled BPF skeletons as reliable BTF generation needs at least $(CLANG) version 12.0.1)
H A DMakefile.perf194 CLANG ?= clang
1112 CLANG_SYS_INCLUDES = $(call get_sys_includes,$(CLANG),$(CLANG_TARGET_ARCH))
1161 $(QUIET_CLANG)$(CLANG) -g -O2 --target=bpf $(CLANG_OPTIONS) $(BPF_INCLUDE) $(TOOLS_UAPI_INCLUDE) \
/linux-master/tools/build/feature/
H A DMakefile381 $(CLANG) -S -g --target=bpf -o - $(patsubst %.bin,%.c,$(@F)) | \

Completed in 137 milliseconds