/linux/tools/testing/selftests/sgx/ |
A D | Makefile | 7 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/tools/testing/selftests/arm64/pauth/ |
A D | Makefile | 5 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/tools/testing/selftests/powerpc/copyloops/ |
A D | Makefile | 24 $(CC) $(CPPFLAGS) $(CFLAGS) \ 30 $(CC) $(CPPFLAGS) $(CFLAGS) \ 37 $(CC) $(CPPFLAGS) $(CFLAGS) \ 43 $(CC) $(CPPFLAGS) $(CFLAGS) \ 49 $(CC) $(CPPFLAGS) $(CFLAGS) \ 55 $(CC) $(CPPFLAGS) $(CFLAGS) \
|
/linux/samples/bpf/ |
A D | Makefile.target | 54 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/tools/testing/selftests/rseq/ |
A D | Makefile | 3 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/scripts/ |
A D | Makefile.compiler | 35 $(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…
|
A D | Makefile.userprogs | 24 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 $@ $<
|
A D | Kconfig.include | 28 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/arch/ia64/scripts/ |
A D | toolchain-flags | 7 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/arch/x86/kvm/vmx/ |
A D | nested.c | 25 #define CC KVM_NESTED_VMENTER_CONSISTENCY_CHECK macro 760 (CC(!nested_cpu_has_vid(vmcs12)) || in nested_vmx_check_apicv_controls() 817 if (CC(!nested_cpu_has_ept(vmcs12)) || in nested_vmx_check_pml_controls() 862 CC(e->index == MSR_IA32_UCODE_REV)) in nested_vmx_msr_check_common() 864 if (CC(e->reserved != 0)) in nested_vmx_msr_check_common() 872 if (CC(e->index == MSR_FS_BASE) || in nested_vmx_load_msr_check() 873 CC(e->index == MSR_GS_BASE) || in nested_vmx_load_msr_check() 2718 if (CC(vmcs12->vm_function_control & in nested_check_vm_execution_controls() 2798 if (CC(has_error_code && in nested_check_vm_entry_controls() 2884 CC((vmcs12->host_rip) >> 32)) in nested_vmx_check_host_state() [all …]
|
/linux/Documentation/kbuild/ |
A D | llvm.rst | 28 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/tools/power/cpupower/ |
A D | Makefile | 89 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/tools/testing/selftests/arm64/bti/ |
A D | Makefile | 18 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/tools/testing/selftests/vm/ |
A D | Makefile | 52 CAN_BUILD_I386 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_32bit_program.c -m32) 53 CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_64bit_program.c) 54 CAN_BUILD_WITH_NOPIE := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_program.c -no-pie) 110 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(notdir $^) $(LDLIBS) -o $@ 118 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(notdir $^) $(LDLIBS) -o $@ 153 /bin/sh ./check_config.sh $(CC)
|
/linux/tools/bpf/ |
A D | Makefile | 67 $(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/tools/testing/selftests/x86/ |
A D | Makefile | 9 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/tools/gpio/ |
A D | Makefile | 26 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/tools/power/cpupower/debug/i386/ |
A D | Makefile | 16 $(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/tools/testing/selftests/resctrl/ |
A D | Makefile | 1 CC = $(CROSS_COMPILE)gcc macro 9 $(CC) $(CFLAGS) -c $(SRCS) 12 $(CC) $(CFLAGS) -o $@ $^
|
/linux/tools/testing/selftests/bpf/ |
A D | Makefile | 164 $(call msg,CC,,$@) 165 $(Q)$(CC) $(CFLAGS) -c $(filter %.c,$^) $(LDLIBS) -o $@ 173 $(Q)$(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) -Wl,--build-id=sha1 182 $(call msg,CC,,$@) 183 $(Q)$(CC) -c $(CFLAGS) -o $@ $< 214 CC=$(HOSTCC) LD=$(HOSTLD) \ 267 CC=$(HOSTCC) LD=$(HOSTLD) AR=$(HOSTAR) \ 284 IS_LITTLE_ENDIAN = $(shell $(CC) -dM -E - </dev/null | \ 449 $(Q)$$(CC) $$(CFLAGS) -c $$< $$(LDLIBS) -o $$@ 526 $(call msg,CC,,$@) [all …]
|
/linux/tools/testing/selftests/ |
A D | lib.mk | 4 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/tools/virtio/virtio-trace/ |
A D | Makefile | 2 CC = gcc macro 8 $(CC) $(CFLAGS) -c $^ -o $@ 11 $(CC) $(CFLAGS) -o $@ $^
|
/linux/tools/hv/ |
A D | Makefile | 27 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/drivers/staging/greybus/tools/ |
A D | Makefile | 17 CC := $(CROSS_COMPILE)gcc macro 25 $(Q)$(CC) $(CFLAGS) -c $< -o $@ 29 $(Q)$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
|
/linux/tools/testing/selftests/arm64/mte/ |
A D | Makefile | 5 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…
|