Lines Matching refs:p
123 $(foreach p,$(PRODUCTS),$(call dump-product,$(p)))
168 $(foreach p,$(PRODUCTS), \
169 $(eval pn := $(strip $(PRODUCTS.$(p).PRODUCT_NAME))) \
170 $(if $(pn),,$(error $(p): PRODUCT_NAME must be defined.)) \
172 $(error $(p): PRODUCT_NAME must be unique; "$(pn)" already used by $(strip \
182 $(error $(p): PRODUCT_NAME must be a valid C identifier, not "$(pn)") \
184 $(eval pb := $(strip $(PRODUCTS.$(p).PRODUCT_BRAND))) \
185 $(if $(pb),,$(error $(p): PRODUCT_BRAND must be defined.)) \
186 $(foreach cf,$(strip $(PRODUCTS.$(p).PRODUCT_COPY_FILES)), \
188 $(error $(p): malformed COPY_FILE "$(cf)") \
203 $(eval p := \
204 $(foreach p,$(PRODUCTS), \
205 $(if $(filter $(pn),$(PRODUCTS.$(p).PRODUCT_NAME)), \
206 $(p) \
209 $(eval p := $(sort $(p)))
210 $(if $(filter 1,$(words $(p))), \
211 $(p), \
212 $(if $(filter 0,$(words $(p))), \
214 $(error Product "$(pn)" ambiguous: matches $(p)) \