1ifneq ($(filter sm8150 sm7150,$(PRODUCT_PLATFORM)),) 2ifneq ($(BUILD_WITHOUT_VENDOR), true) 3LOCAL_PATH := $(call my-dir) 4subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) 5 6ifeq ($(PRODUCT_PLATFORM),sm7150) 7SKIP_BUILD_DIRS := \ 8 thermal 9SKIP_MAKEFILES := $(call all-named-subdir-makefiles, $(SKIP_BUILD_DIRS)) 10subdir_makefiles := $(filter-out $(SKIP_MAKEFILES), $(subdir_makefiles)) 11endif 12 13$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) 14endif 15endif 16