Home
last modified time | relevance | path

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

123

/tools/testing/selftests/x86/
Dcheck_cc.sh6 CC="$1"
10 if [ -n "$CC" ] && $CC -o /dev/null "$TESTPROG" -O0 "$@" 2>/dev/null; then
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)
74 $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm
77 $(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl
/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) \
/tools/testing/selftests/rseq/
DMakefile3 ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
29 $(CC) $(CFLAGS) -shared -fPIC $< $(LDLIBS) -o $@
32 $(CC) $(CFLAGS) $< $(LDLIBS) -lrseq -o $@
36 $(CC) $(CFLAGS) -DBENCHMARK $< $(LDLIBS) -lrseq -o $@
40 $(CC) $(CFLAGS) -DRSEQ_COMPARE_TWICE $< $(LDLIBS) -lrseq -o $@
/tools/virtio/virtio-trace/
DMakefile2 CC = gcc macro
8 $(CC) $(CFLAGS) -c $^ -o $@
11 $(CC) $(CFLAGS) -o $@ $^
/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
/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 " $@
/tools/testing/selftests/sync/
DMakefile30 $(CC) -o $(TEST_CUSTOM_PROGS) $(OBJS) $(TESTS) $(CFLAGS) $(LDFLAGS)
33 $(CC) -c $^ -o $@ $(CFLAGS)
36 $(CC) -c $^ -o $@
/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 $@
/tools/usb/ffs-aio-example/multibuff/host_app/
DMakefile2 CC = gcc macro
11 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
/tools/usb/ffs-aio-example/simple/host_app/
DMakefile2 CC = gcc macro
11 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
/tools/testing/selftests/
Dlib.mk4 CC := clang
6 CC := $(CROSS_COMPILE)gcc
142 LINK.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
143 COMPILE.S = $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
144 LINK.S = $(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
/tools/iio/
DMakefile22 export srctree OUTPUT CC LD CFLAGS
39 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
45 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
51 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
/tools/io_uring/
DMakefile8 $(CC) $(CFLAGS) -o $@ $^
11 $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
/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 $@
/tools/power/cpupower/bench/
DMakefile21 $(ECHO) " CC " $@
25 $(ECHO) " CC " $@
/tools/build/tests/ex/
DMakefile3 export CC := gcc macro
12 $(CC) -o $@ $^
/tools/spi/
DMakefile22 export srctree OUTPUT CC LD CFLAGS
41 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
50 $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
/tools/power/x86/x86_energy_perf_policy/
DMakefile2 CC = $(CROSS_COMPILE)gcc macro
18 $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS)
/tools/power/x86/turbostat/
DMakefile2 CC = $(CROSS_COMPILE)gcc macro
19 $(CC) $(CFLAGS) $< -o $(BUILD_OUTPUT)/$@ $(LDFLAGS) -lcap
/tools/perf/lib/tests/
DMakefile22 $(QUIET_LINK)$(CC) $(INCLUDE) $(CFLAGS) -o $@ $(subst -a,.c,$@) ../libperf.a
25 $(QUIET_LINK)$(CC) $(INCLUDE) $(CFLAGS) -L.. -o $@ $(subst -so,.c,$@) -lperf
/tools/power/cpupower/debug/x86_64/
DMakefile16 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
19 $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $<
/tools/objtool/
DMakefile7 CC = $(HOSTCC) macro
35 elfshdr := $(shell echo '$(pound)include <libelf.h>' | $(CC) $(CFLAGS) -x c -E - | grep elf_getshdr)
47 $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@
/tools/build/
DMakefile.build63 quiet_cmd_cc_o_c = CC $@
64 cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
73 cmd_cpp_i_c = $(CC) $(c_flags) -E -o $@ $<
76 cmd_cc_s_c = $(CC) $(c_flags) -S -o $@ $<
DMakefile15 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
26 export Q srctree CC LD

123