Lines Matching full:call
4 # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
19 # Usage: option = $(call try-run, $(CC)...-o "$$TMP",option-ok,otherwise)
32 # Usage: aflags-y += $(call as-option,-Wa$(comma)-isa=foo,)
34 as-option = $(call try-run,\
38 # Usage: aflags-y += $(call as-instr,instr,option1,option2)
40 as-instr = $(call try-run,\
44 # Usage: MY_CFLAGS += $(call __cc-option,$(CC),$(MY_CFLAGS),-march=winchip-c6,-march=i586)
45 __cc-option = $(call try-run,\
49 # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586)
51 cc-option = $(call __cc-option, $(CC),\
55 # Usage: flag := $(call cc-option-yn,-march=winchip-c6)
56 cc-option-yn = $(if $(call cc-option,$1),y,n)
59 # Usage: cflags-y += $(call cc-disable-warning,unused-but-set-variable)
60 cc-disable-warning = $(call cc-option,-Wno-$(strip $1))
63 # Usage: cflags-$(call gcc-min-version, 110100) += -foo
64 gcc-min-version = $(call test-ge, $(CONFIG_GCC_VERSION), $1)
67 # Usage: cflags-$(call clang-min-version, 110000) += -foo
68 clang-min-version = $(call test-ge, $(CONFIG_CLANG_VERSION), $1)
71 # Usage: rustc-$(call rustc-min-version, 108500) += -Cfoo
72 rustc-min-version = $(call test-ge, $(CONFIG_RUSTC_VERSION), $1)
75 # Usage: KBUILD_LDFLAGS += $(call ld-option, -X, -Y)
76 ld-option = $(call try-run, $(LD) $(KBUILD_LDFLAGS) $(1) -v,$(1),$(2),$(3))
79 # Usage: MY_RUSTFLAGS += $(call __rustc-option,$(RUSTC),$(MY_RUSTFLAGS),-Cinstrument-coverage,-Zins…
81 __rustc-option = $(call try-run,\
87 # Usage: rustflags-y += $(call rustc-option,-Cinstrument-coverage,-Zinstrument-coverage)
88 rustc-option = $(call __rustc-option, $(RUSTC),\
92 # Usage: flag := $(call rustc-option-yn,-Cinstrument-coverage)
93 rustc-option-yn = $(if $(call rustc-option,$1),y,n)