diff options
-rw-r--r-- | os_pickup.bp | 3 | ||||
-rw-r--r-- | os_pickup.mk | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/os_pickup.bp b/os_pickup.bp new file mode 100644 index 0000000..45708ee --- /dev/null +++ b/os_pickup.bp @@ -0,0 +1,3 @@ +//we are creating the namespace hardware/qcom/sm8150p, hardware/qcom/sm8150p/Android.bp links to this file +soong_namespace { +} 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 |