diff options
Diffstat (limited to 'os_pickup.mk')
-rw-r--r-- | os_pickup.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/os_pickup.mk b/os_pickup.mk new file mode 100644 index 0000000..07b3fd0 --- /dev/null +++ b/os_pickup.mk @@ -0,0 +1,16 @@ +ifeq ($(PRODUCT_PLATFORM),sm8150p) +LOCAL_PATH := $(call my-dir) +subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) + +SKIP_BUILD_DIRS += \ + hardware/qcom/sm8150p/display \ + hardware/qcom/sm8150p/media + +SKIP_MAKEFILES := $(call all-named-subdir-makefiles, $(SKIP_BUILD_DIRS)) +subdir_makefiles := $(filter-out $(SKIP_MAKEFILES), $(subdir_makefiles)) + +subdir_makefiles += hardware/qcom/sm8150/display/Android.mk \ + hardware/qcom/sm8150/media/Android.mk + +$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) +endif |