diff options
author | Ethan Chen <intervigil@gmail.com> | 2014-11-21 11:51:03 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 18:02:55 -0700 |
commit | aae9b009e4164c76017459a7fb47a9ee62ec71e2 (patch) | |
tree | f7a0e944a4015a80c7d3564c9953d50c010957b1 /core/qcom_target.mk | |
parent | 75b36a49c1a9e6a39957fd29be652e9009525fad (diff) | |
download | build-aae9b009e4164c76017459a7fb47a9ee62ec71e2.zip build-aae9b009e4164c76017459a7fb47a9ee62ec71e2.tar.gz build-aae9b009e4164c76017459a7fb47a9ee62ec71e2.tar.bz2 |
build: Allow devices to specify a RIL variant
Change-Id: Ia5d35d916be358fb7be7ead6bd05cc3628b35a37
Diffstat (limited to 'core/qcom_target.mk')
-rw-r--r-- | core/qcom_target.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/qcom_target.mk b/core/qcom_target.mk index 68f3327..1e2066a 100644 --- a/core/qcom_target.mk +++ b/core/qcom_target.mk @@ -4,6 +4,9 @@ define qcom-set-path-variant $(call project-set-path-variant,qcom-$(2),TARGET_QCOM_$(1)_VARIANT,hardware/qcom/$(2)) endef +define ril-set-path-variant +$(call project-set-path-variant,ril,TARGET_RIL_VARIANT,hardware/$(1)) +endef ifeq ($(BOARD_USES_QCOM_HARDWARE),true) @@ -39,6 +42,7 @@ $(call project-set-path,qcom-display,hardware/qcom/display-caf/$(TARGET_BOARD_PL $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media-caf/$(TARGET_BOARD_PLATFORM)) $(call qcom-set-path-variant,SENSORS,sensors) +$(call ril-set-path-variant,ril) else $(call project-set-path,qcom-audio,hardware/qcom/audio/default) $(call qcom-set-path-variant,CAMERA,camera) @@ -46,4 +50,5 @@ $(call project-set-path,qcom-display,hardware/qcom/display/$(TARGET_BOARD_PLATFO $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media/default) $(call qcom-set-path-variant,SENSORS,sensors) +$(call ril-set-path-variant,ril) endif |