You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
727 B

#####################################################################
# Use utility find to find product_package.mk in the given subdirs.
# $(PACKAGE_SUBDIRS): a list of subdirs.
# product_package.mk: the file name to be passed to find as "-name".
# Returns: a list of paths relative to the $(PACKAGE_SUBDIRS) dir.
#####################################################################
PACKAGE_SUBDIRS ?= vendor
PRODUCT_PACKAGE_MK_FILES := $(sort $(patsubst ./%,%, \
$(shell find -L $(PACKAGE_SUBDIRS) -name product_package.mk -and -not -name ".*") ))
-include $(SOC_PLATFORM_PATH)/development/build/security/certificate.mk
$(foreach package_mk,$(strip $(PRODUCT_PACKAGE_MK_FILES)),$(call inherit-product, $(package_mk)))