Lines Matching refs:cc
72 # cc-cross-prefix
73 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
76 cc-cross-prefix = \
90 # modifed for U-Boot: prevent cc-option from leaving .*.su files
118 # cc-option
119 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
120 cc-option = $(call __cc-option, $(CC),\
128 # cc-option-yn
129 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
130 cc-option-yn = $(call try-run,\
133 # cc-disable-warning
134 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
135 cc-disable-warning = $(call try-run,\
138 # cc-name
140 cc-name = $(shell $(CC) -v 2>&1 | grep -q "clang version" && echo clang || echo gcc)
142 # cc-version
143 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
145 # cc-ifversion
146 # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
147 cc-ifversion = $(shell [ $(cc-version) $(1) $(2) ] && echo $(3) || echo $(4))
153 # cc-ldoption
154 # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
155 cc-ldoption = $(call try-run,\