Lines Matching refs:comp
20 comp-cflags$(sm) = -std=gnu11
21 comp-aflags$(sm) =
22 comp-cppflags$(sm) =
25 comp-cflags$(sm) += -Werror
27 comp-cflags$(sm) += -fdiagnostics-show-option
29 comp-cflags-warns-high = \
40 comp-cflags-warns-high += $(call cc-option,-Wpacked-not-aligned)
41 comp-cflags-warns-high += $(call cc-option,-Waddress-of-packed-member)
43 comp-cflags-warns-high += $(call cc-option,-Wdeclaration-after-statement)
45 comp-cflags-warns-medium = \
47 comp-cflags-warns-low = \
51 comp-cflags-warns-1:= $(comp-cflags-warns-high)
52 comp-cflags-warns-2:= $(comp-cflags-warns-1) $(comp-cflags-warns-medium)
53 comp-cflags-warns-3:= $(comp-cflags-warns-2) $(comp-cflags-warns-low)
57 comp-cflags$(sm) += $(comp-cflags-warns-$(WARNS)) \
58 $(comp-cflags-warns-$(COMPILER_$(sm)))
70 comp-dep-$2 := $$(dir $2).$$(notdir $2).d
71 comp-cmd-file-$2:= $$(dir $2).$$(notdir $2).cmd
72 comp-sm-$2 := $(sm)
73 comp-lib-$2 := $(libname)-$(sm)
75 cleanfiles := $$(cleanfiles) $$(comp-dep-$2) $$(comp-cmd-file-$2) $2
78 comp-q-$2 := CC # one trailing space
79 comp-compiler-$2 := $$(CC$(sm))
80 comp-flags-$2 = $$(filter-out $$(CFLAGS_REMOVE) $$(cflags-remove) \
81 $$(cflags-remove-$$(comp-sm-$2)) \
83 $$(CFLAGS$$(arch-bits-$$(comp-sm-$2))) $$(CFLAGS) \
85 $$(comp-cflags$$(comp-sm-$2)) $$(cflags$$(comp-sm-$2)) \
86 $$(cflags-lib$$(comp-lib-$2)) $$(cflags-$2))
88 check-cmd-$2 = $(CHECK) $$(comp-cppflags-$2) $$<
155 $(cmd-echo-silent) ' $$(comp-q-$2) $$@' ;\