Home
last modified time | relevance | path

Searched refs:CC (Results 1 – 25 of 214) sorted by relevance

123456789

/Linux-v5.15/tools/testing/selftests/arm64/pauth/
DMakefile5 ifeq ($(CC),cc)
6 CC := $(CROSS_COMPILE)gcc macro
11 pauth_cc_support := $(shell if ($(CC) $(CFLAGS) -march=armv8.3-a -E -x c /dev/null -o /dev/null 2>&…
25 $(CC) -c $^ -o $@ $(CFLAGS) -march=armv8.3-a
28 $(CC) -c $^ -o $@ $(CFLAGS) -march=armv8.3-a
35 $(CC) $^ -o $@ $(CFLAGS) -march=armv8.2-a
38 $(CC) $^ -o $@ $(CFLAGS) -march=armv8.2-a
/Linux-v5.15/tools/testing/selftests/sgx/
DMakefile7 CAN_BUILD_X86_64 := $(shell ../x86/check_cc.sh $(CC) \
30 $(CC) $(HOST_CFLAGS) -o $@ $^ -lcrypto
33 $(CC) $(HOST_CFLAGS) -c $< -o $@
36 $(CC) $(HOST_CFLAGS) -c $< -o $@
39 $(CC) $(HOST_CFLAGS) -c $< -o $@
42 $(CC) $(HOST_CFLAGS) -c $< -o $@
45 $(CC) $(HOST_CFLAGS) -c $< -o $@
48 $(CC) $(ENCL_CFLAGS) -T $^ -o $@
/Linux-v5.15/tools/testing/selftests/powerpc/copyloops/
DMakefile24 $(CC) $(CPPFLAGS) $(CFLAGS) \
30 $(CC) $(CPPFLAGS) $(CFLAGS) \
37 $(CC) $(CPPFLAGS) $(CFLAGS) \
43 $(CC) $(CPPFLAGS) $(CFLAGS) \
49 $(CC) $(CPPFLAGS) $(CFLAGS) \
55 $(CC) $(CPPFLAGS) $(CFLAGS) \
/Linux-v5.15/tools/testing/selftests/rseq/
DMakefile3 ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
27 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@
30 $(CC) $(CFLAGS) $< $(LDLIBS) -lrseq -o $@
34 $(CC) $(CFLAGS) -DBENCHMARK $< $(LDLIBS) -lrseq -o $@
38 $(CC) $(CFLAGS) -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
/Linux-v5.15/samples/bpf/
DMakefile.target54 quiet_cmd_tprog-csingle = CC $@
55 cmd_tprog-csingle = $(CC) $(tprogc_flags) $(TPROGS_LDFLAGS) -o $@ $< \
63 cmd_tprog-cmulti = $(CC) $(tprogc_flags) $(TPROGS_LDFLAGS) -o $@ \
72 quiet_cmd_tprog-cobjs = CC $@
73 cmd_tprog-cobjs = $(CC) $(tprogc_flags) -c -o $@ $<
86 $(CC) $(XDP_SAMPLE_CFLAGS) -c -o $@ $<
/Linux-v5.15/scripts/
DMakefile.compiler35 $(CC) $(KBUILD_CFLAGS) $(1) -c -x assembler /dev/null -o "$$TMP",$(1),$(2))
41 printf "%b\n" "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -x assembler -o "$$TMP" -,$(2),$(3))
51 cc-option = $(call __cc-option, $(CC),\
57 $(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n)
62 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -W$(strip $(1)) -c -x c /dev/null -o "$$TMP",-Wn…
DMakefile.userprogs24 quiet_cmd_user_cc_c = CC [U] $@
25 cmd_user_cc_c = $(CC) $(user_ccflags) $(user_ldflags) -o $@ $< \
32 cmd_user_ld = $(CC) $(user_ldflags) -o $@ \
40 quiet_cmd_user_cc_o_c = CC [U] $@
41 cmd_user_cc_o_c = $(CC) $(user_ccflags) -c -o $@ $<
DKconfig.include28 cc-option = $(success,mkdir .tmp_$$$$; trap "rm -rf .tmp_$$$$" EXIT; $(CC) -Werror $(CLANG_FLAGS) $…
36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler -o /dev/null -)
38 # check if $(CC) and $(LD) exist
39 $(error-if,$(failure,command -v $(CC)),compiler '$(CC)' not found)
43 cc-info := $(shell,$(srctree)/scripts/cc-version.sh $(CC))
49 as-info := $(shell,$(srctree)/scripts/as-version.sh $(CC) $(CLANG_FLAGS))
63 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
/Linux-v5.15/arch/ia64/scripts/
Dtoolchain-flags7 CC=$1
17 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out
31 $CC -c $dir/check-text-align.S -o $out
39 if ! $CC -c $dir/check-model.c -o $out 2>&1 | grep __model__ | grep -q attrib
47 $CC -c $dir/check-serialize.S -o $out 2>/dev/null
/Linux-v5.15/tools/power/cpupower/
DMakefile89 CC = $(CROSS)gcc macro
111 export CROSS CC AR STRIP RANLIB CFLAGS LDFLAGS LIB_OBJS
114 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1…
196 $(ECHO) " CC " $@
213 $(ECHO) " CC " $@
217 $(ECHO) " CC " $@
/Linux-v5.15/Documentation/kbuild/
Dllvm.rst28 The compiler used can be swapped out via ``CC=`` command line argument to ``make``.
29 ``CC=`` should be set when selecting a config and during a build. ::
31 make CC=clang defconfig
33 make CC=clang
41 make ARCH=arm64 CC=clang CROSS_COMPILE=aarch64-linux-gnu-
59 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \
91 architectures that currently work with ``CC=clang`` or ``LLVM=1``. Level
115 - ``CC=clang``
118 - ``CC=clang``
121 - ``CC=clang``
[all …]
/Linux-v5.15/arch/x86/kvm/vmx/
Dnested.c25 #define CC KVM_NESTED_VMENTER_CONSISTENCY_CHECK macro
495 if (CC(!page_address_valid(vcpu, vmcs12->io_bitmap_a)) || in nested_vmx_check_io_bitmap_controls()
496 CC(!page_address_valid(vcpu, vmcs12->io_bitmap_b))) in nested_vmx_check_io_bitmap_controls()
508 if (CC(!page_address_valid(vcpu, vmcs12->msr_bitmap))) in nested_vmx_check_msr_bitmap_controls()
520 if (CC(!page_address_valid(vcpu, vmcs12->virtual_apic_page_addr))) in nested_vmx_check_tpr_shadow_controls()
751 CC(!page_address_valid(vcpu, vmcs12->apic_access_addr))) in nested_vmx_check_apic_access_controls()
770 if (CC(nested_cpu_has_virt_x2apic_mode(vmcs12) && in nested_vmx_check_apicv_controls()
778 if (CC(nested_cpu_has_vid(vmcs12) && !nested_exit_on_intr(vcpu))) in nested_vmx_check_apicv_controls()
789 (CC(!nested_cpu_has_vid(vmcs12)) || in nested_vmx_check_apicv_controls()
790 CC(!nested_exit_intr_ack_set(vcpu)) || in nested_vmx_check_apicv_controls()
[all …]
/Linux-v5.15/tools/testing/selftests/arm64/bti/
DMakefile18 BTI_CC_COMMAND = $(CC) $(CFLAGS_BTI) $(CFLAGS_COMMON) -c -o $@ $<
19 NOBTI_CC_COMMAND = $(CC) $(CFLAGS_NOBTI) $(CFLAGS_COMMON) -c -o $@ $<
42 $(CC) $(CFLAGS_BTI) $(CFLAGS_COMMON) -nostdlib -o $@ $^
53 $(CC) $(CFLAGS_BTI) $(CFLAGS_COMMON) -nostdlib -o $@ $^
/Linux-v5.15/tools/testing/selftests/resctrl/
DMakefile1 CC = $(CROSS_COMPILE)gcc macro
9 $(CC) $(CFLAGS) -c $(SRCS)
12 $(CC) $(CFLAGS) -o $@ $^
/Linux-v5.15/tools/virtio/virtio-trace/
DMakefile2 CC = gcc macro
8 $(CC) $(CFLAGS) -c $^ -o $@
11 $(CC) $(CFLAGS) -o $@ $^
/Linux-v5.15/tools/power/cpupower/debug/i386/
DMakefile16 $(CC) $(CFLAGS) -o $@ centrino-decode.c
19 $(CC) $(CFLAGS) -o $@ dump_psb.c
22 $(CC) $(CFLAGS) -o $@ -llrmi intel_gsic.c
25 $(CC) $(CFLAGS) -o $@ powernow-k8-decode.c
/Linux-v5.15/tools/gpio/
DMakefile26 export srctree OUTPUT CC LD CFLAGS
49 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
58 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
67 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
76 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
/Linux-v5.15/tools/testing/selftests/x86/
DMakefile9 CAN_BUILD_I386 := $(shell ./check_cc.sh $(CC) trivial_32bit_program.c -m32)
10 CAN_BUILD_X86_64 := $(shell ./check_cc.sh $(CC) trivial_64bit_program.c)
11 CAN_BUILD_WITH_NOPIE := $(shell ./check_cc.sh $(CC) trivial_program.c -no-pie)
75 $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
78 $(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl
/Linux-v5.15/tools/bpf/
DMakefile67 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
70 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
72 $(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
80 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ -lopcodes -lbfd -ldl
83 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ -lreadline
86 $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^
/Linux-v5.15/tools/testing/selftests/vm/
DMakefile51 CAN_BUILD_I386 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_32bit_program.c -m32)
52 CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_64bit_program.c)
53 CAN_BUILD_WITH_NOPIE := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_program.c -no-pie)
109 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(notdir $^) $(LDLIBS) -o $@
117 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(notdir $^) $(LDLIBS) -o $@
152 /bin/sh ./check_config.sh $(CC)
/Linux-v5.15/drivers/staging/greybus/tools/
DMakefile17 CC := $(CROSS_COMPILE)gcc macro
25 $(Q)$(CC) $(CFLAGS) -c $< -o $@
29 $(Q)$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
/Linux-v5.15/tools/hv/
DMakefile27 export srctree OUTPUT CC LD CFLAGS
34 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
40 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
46 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
/Linux-v5.15/tools/testing/selftests/
Dlib.mk4 CC := clang
6 CC := $(CROSS_COMPILE)gcc
136 LINK.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
137 COMPILE.S = $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
138 LINK.S = $(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
/Linux-v5.15/tools/testing/selftests/arm64/mte/
DMakefile5 ifeq ($(CC),cc)
6 CC := $(CROSS_COMPILE)gcc macro
18 mte_cc_support := $(shell if ($(CC) $(CFLAGS) -E -x c /dev/null -o /dev/null 2>&1) then echo "1"; f…
/Linux-v5.15/tools/testing/selftests/sync/
DMakefile30 $(CC) -o $(TEST_CUSTOM_PROGS) $(OBJS) $(TESTS) $(CFLAGS) $(LDFLAGS)
33 $(CC) -c $^ -o $@ $(CFLAGS)
36 $(CC) -c $^ -o $@

123456789