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
113 # cc-option
114 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
116 cc-option = $(call try-run,\
119 # cc-option-yn
120 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
121 cc-option-yn = $(call try-run,\
124 # cc-option-align
126 cc-option-align = $(subst -functions=0,,\
127 $(call cc-option,-falign-functions=0,-malign-functions=0))
129 # cc-disable-warning
130 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
131 cc-disable-warning = $(call try-run,\
134 # cc-name
136 cc-name = $(shell $(CC) -v 2>&1 | grep -q "clang version" && echo clang || echo gcc)
138 # cc-version
139 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
141 # cc-fullversion
142 cc-fullversion = $(shell $(CONFIG_SHELL) \
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,\