Lines Matching refs:p
137 $(foreach p,$(PRODUCTS),$(call dump-product,$(p)))
185 $(foreach p,$(PRODUCTS), \
186 $(eval pn := $(strip $(PRODUCTS.$(p).PRODUCT_NAME))) \
187 $(if $(pn),,$(error $(p): PRODUCT_NAME must be defined.)) \
189 $(error $(p): PRODUCT_NAME must be unique; "$(pn)" already used by $(strip \
199 $(error $(p): PRODUCT_NAME must be a valid C identifier, not "$(pn)") \
201 $(eval pb := $(strip $(PRODUCTS.$(p).PRODUCT_BRAND))) \
202 $(if $(pb),,$(error $(p): PRODUCT_BRAND must be defined.)) \
203 $(foreach cf,$(strip $(PRODUCTS.$(p).PRODUCT_COPY_FILES)), \
205 $(error $(p): malformed COPY_FILE "$(cf)") \
220 $(eval p := \
221 $(foreach p,$(PRODUCTS), \
222 $(if $(filter $(pn),$(PRODUCTS.$(p).PRODUCT_NAME)), \
223 $(p) \
226 $(eval p := $(sort $(p)))
227 $(if $(filter 1,$(words $(p))), \
228 $(p), \
229 $(if $(filter 0,$(words $(p))), \
231 $(error Product "$(pn)" ambiguous: matches $(p)) \