Lines Matching full:cc
3 # cc-cross-prefix
4 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
12 cc-cross-prefix = $(firstword $(foreach c, $(1), \
19 # Usage: option = $(call try-run, $(CC)...-o "$$TMP",option-ok,otherwise)
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))
44 # Usage: MY_CFLAGS += $(call __cc-option,$(CC),$(MY_CFLAGS),-march=winchip-c6,-march=i586)
48 # cc-option
49 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
51 cc-option = $(call __cc-option, $(CC),\
54 # cc-option-yn
55 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
56 cc-option-yn = $(call try-run,\
57 $(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n)
59 # cc-disable-warning
60 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
61 cc-disable-warning = $(call try-run,\
62 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -W$(strip $(1)) -c -x c /dev/null -o "$$TMP",-Wn…