Lines Matching full:1

24 uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
27 # $1 is local source file name
29 cflags-$(2) := $$(cflags-y) $$(cflags-$(1)-y)
30 cflags-remove-$(2) := $$(cflags-remove-y) $$(cflags-remove-$(1)-y)
31 cxxflags-$(2) := $$(cxxflags-y) $$(cxxflags-$(1)-y)
32 cxxflags-remove-$(2) := $$(cxxflags-remove-y) $$(cxxflags-remove-$(1)-y)
33 cppflags-$(2) := $$(cppflags-y) $$(cppflags-$(1)-y)
34 cppflags-remove-$(2) := $$(cppflags-remove-y) $$(cppflags-remove-$(1)-y)
35 aflags-$(2) := $$(aflags-y) $$(aflags-$(1)-y)
36 aflags-remove-$(2) := $$(aflags-remove-y) $$(aflags-remove-$(1)-y)
37 incdirs-$(2) := $$(thissubdir-incdirs) $$(addprefix $(sub-dir)/,$$(incdirs-$(1)-y))
40 cflags-$(1)-y :=
41 cflags-remove-$(1)-y :=
43 cxxflags-$(1)-y :=
44 cxxflags-remove-$(1)-y :=
46 cppflags-$(1)-y :=
47 cppflags-remove-$(1)-y :=
49 aflags-$(1)-y :=
50 aflags-remove-$(1)-y :=
51 incdirs-$(1)-y :=
55 # $1 is local source file name
58 oname-$(sm)-$3 := $$(if $$(oname-$1-y),$(out-dir)/$(base-prefix)/$$(oname-$1-y),$2)
59 $$(eval $$(call process-file-vars-helper,$1,$$(oname-$(sm)-$3)))
64 srcs += $1
65 fname := $1
66 oname := $(out-dir)/$(base-prefix)$(basename $1).o
68 ifneq ($(filter /%,$(1)),)
69 # $1 is an absolute path - start with "/"
70 srcs += $1
71 fname := $1
72 oname := $(out-dir)/$(base-prefix)$(basename $1).o
74 srcs += $(sub-dir)/$1
75 fname := $(sub-dir)/$1
76 oname := $(out-dir)/$(base-prefix)$(basename $$(sub-dir)/$1).o
79 $$(eval $$(call process-file-vars,$1,$$(oname),$$(fname)))
83 ifneq ($(filter /%,$(1)),)
84 $$(error Absolute path not supported for srcs_ext-y: $(1))
86 srcs += $2/$1
87 fname := $2/$1
89 oname := $(out-dir)/$(base-prefix)$(basename $1).o
91 oname := $(out-dir)/$(base-prefix)$(basename $$(sub-dir)/$1).o
93 $$(eval $$(call process-file-vars,$1,$$(oname),$$(fname)))
97 # $1 gensrc-y element
109 $$(addprefix $4,$$(produce-additional-$1)): $2
112 recipe-$2 := $$(recipe-$1)
113 $2: $$(depends-$1)
118 $$(eval $$(call process-file-vars,$1,$$(oname)))
122 …subdir-gensrcs-helper,$1,$(sub-dir-out)/$$(produce-$1),$(sub-dir-out)/$(basename $(produce-$1)).o,…
126 asm-defines-files += $(sub-dir)/$1
130 sub-dir := $1
131 ifeq ($1,.)
134 sub-dir-out := $(out-dir)/$(base-prefix)$1
137 include $1/sub.mk
138 sub-subdirs := $$(addprefix $1/,$$(subdirs-y)) $$(subdirs_ext-y)
139 incdirs$(sm) := $(incdirs$(sm)) $$(addprefix $1/,$$(global-incdirs-y)) $$(global-incdirs_ext-y)
141 thissubdir-incdirs := $(out-dir)/$(base-prefix)$1 $$(addprefix $1/,$$(incdirs-y)) $$(incdirs_ext-y)
143 incdirs-lib$$(libname)-$$(sm) := $$(incdirs-lib$$(libname)-$$(sm)) $$(addprefix $1/,$$(incdirs-lib-…