diff options
author | LuK1337 <priv.luk@gmail.com> | 2015-10-14 21:40:09 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-10-16 13:23:06 -0700 |
commit | 4d75c7c8f623c5889498df0a63bd79cf136419cd (patch) | |
tree | dccfc19a7b9016a43a205c66d159da80101cfbb1 /core/qcom_target.mk | |
parent | b1cbe9fff162cd48c8bfc37402d31db5772517b0 (diff) | |
download | build-4d75c7c8f623c5889498df0a63bd79cf136419cd.zip build-4d75c7c8f623c5889498df0a63bd79cf136419cd.tar.gz build-4d75c7c8f623c5889498df0a63bd79cf136419cd.tar.bz2 |
build: Allow devices to specify a WLAN variant
Change-Id: I59616fa641c4ccddea7eb5fb77e9aeb0423ef234
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 17c9335..117ec5c 100644 --- a/core/qcom_target.mk +++ b/core/qcom_target.mk @@ -7,6 +7,9 @@ endef define ril-set-path-variant $(call project-set-path-variant,ril,TARGET_RIL_VARIANT,hardware/$(1)) endef +define wlan-set-path-variant +$(call project-set-path-variant,wlan,TARGET_WLAN_VARIANT,hardware/qcom/$(1)) +endef define gps-hal-set-path-variant $(call project-set-path-variant,gps-hal,TARGET_GPS_HAL_PATH,$(1)) endef @@ -69,6 +72,7 @@ $(call qcom-set-path-variant,GPS,gps) $(call project-set-path,qcom-media,hardware/qcom/media-caf/$(QCOM_HARDWARE_VARIANT)) $(call qcom-set-path-variant,SENSORS,sensors) $(call ril-set-path-variant,ril) +$(call wlan-set-path-variant,wlan) $(call loc-api-set-path-variant,vendor/qcom/opensource/location) $(call gps-hal-set-path-variant,hardware/qcom/gps) else @@ -79,6 +83,7 @@ $(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) +$(call wlan-set-path-variant,wlan) $(call loc-api-set-path-variant,vendor/qcom/opensource/location) $(call gps-hal-set-path-variant,hardware/qcom/gps) endif |