summaryrefslogtreecommitdiff
path: root/os_pickup.mk
blob: 59b5051e4048780656b1ff560b89f04f551d4510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ifneq ($(filter sm8150 sm7150,$(PRODUCT_PLATFORM)),)
ifneq ($(BUILD_WITHOUT_VENDOR), true)
LOCAL_PATH := $(call my-dir)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))

ifeq ($(PRODUCT_PLATFORM),sm7150)
SKIP_BUILD_DIRS :=    \
  thermal
SKIP_MAKEFILES := $(call all-named-subdir-makefiles, $(SKIP_BUILD_DIRS))
subdir_makefiles := $(filter-out $(SKIP_MAKEFILES), $(subdir_makefiles))
endif

$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
endif
endif