Lines Matching +refs:cc +refs:check +refs:functions
39 # filechk is used to check if the content of a generated file is updated.
67 # gcc support functions
70 # cc-cross-prefix
71 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
74 cc-cross-prefix = \
109 # cc-option
110 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
112 cc-option = $(call try-run,\
115 # cc-option-yn
116 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
117 cc-option-yn = $(call try-run,\
120 # cc-option-align
122 cc-option-align = $(subst -functions=0,,\
123 $(call cc-option,-falign-functions=0,-malign-functions=0))
125 # cc-disable-warning
126 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
127 cc-disable-warning = $(call try-run,\
130 # cc-version
131 # Usage gcc-ver := $(call cc-version)
132 cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
134 # cc-fullversion
135 # Usage gcc-ver := $(call cc-fullversion)
136 cc-fullversion = $(shell $(CONFIG_SHELL) \
139 # cc-ifversion
140 # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
141 cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
143 # cc-ldoption
144 # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
145 cc-ldoption = $(call try-run,\
201 # User may override this check using make KBUILD_NOCMDDEP=1
202 arg-check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
205 arg-check = $(if $(strip $(cmd_$@)),,1)
220 if_changed = $(if $(strip $(any-prereq) $(arg-check)), \
226 if_changed_dep = $(if $(strip $(any-prereq) $(arg-check) ), \
234 # Will check if $(cmd_foo) or any of the prerequisites changed,
236 if_changed_rule = $(if $(strip $(any-prereq) $(arg-check) ), \
264 $(if $(arg-check), \