Lines Matching refs:option
52 # as-option
53 # Usage: cflags-y += $(call as-option, -Wa$(comma)-isa=foo,)
55 as-option = $(shell if $(CC) $(CFLAGS) $(1) -Wa,-Z -c -o /dev/null \
59 # cc-option
60 # Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)
62 cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
65 # hostcc-option
66 # Usage: hostcflags-y += $(call hostcc-option, -march=winchip-c6, -march=i586)
68 hostcc-option = $(shell if $(HOSTCC) $(HOSTCFLAGS) $(1) -S -o /dev/null -xc /dev/null \
71 # cc-option-yn
72 # Usage: flag := $(call cc-option-yn, -march=winchip-c6)
73 cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
76 # cc-option-align
78 cc-option-align = $(subst -functions=0,,\
79 $(call cc-option,-falign-functions=0,-malign-functions=0))