am 36e95f31: Merge "don\'t check paths of non-installed or host modules" into klp-dev
* commit '36e95f316f660f3cf32dbd47bbafba0e2ee56ad9': don't check paths of non-installed or host modules
This commit is contained in:
commit
8c6a66e959
|
@ -86,10 +86,11 @@ ifneq (,$(filter path all, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_RESTRICT_VENDO
|
|||
$(foreach m, $(_vendor_check_modules), \
|
||||
$(if $(filter vendor/%, $(ALL_MODULES.$(m).PATH)),\
|
||||
$(if $(filter-out FAKE, $(ALL_MODULES.$(m).CLASS)),\
|
||||
$(if $(filter $(TARGET_OUT_VENDOR)/%, $(ALL_MODULES.$(m).INSTALLED)),,\
|
||||
$(error Error: vendor module "$(m)" in $(ALL_MODULES.$(m).PATH) \
|
||||
in product "$(TARGET_PRODUCT)" being installed to \
|
||||
$(ALL_MODULES.$(m).INSTALLED) which is not in the vendor tree)))))
|
||||
$(if $(filter-out ,$(ALL_MODULES.$(m).INSTALLED)),\
|
||||
$(if $(filter $(TARGET_OUT_VENDOR)/% $(HOST_OUT)/%, $(ALL_MODULES.$(m).INSTALLED)),,\
|
||||
$(error Error: vendor module "$(m)" in $(ALL_MODULES.$(m).PATH) \
|
||||
in product "$(TARGET_PRODUCT)" being installed to \
|
||||
$(ALL_MODULES.$(m).INSTALLED) which is not in the vendor tree))))))
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue