summaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index a121567..7ceb1f0 100644
--- a/common.mk
+++ b/common.mk
@@ -19,3 +19,13 @@ COMMON_PATH := device/samsung/smdk4412-qcom-common
# GPS
PRODUCT_PACKAGES += \
gps.default
+
+ifneq ($(filter t0ltecdma i605 l900 r950,$(TARGET_DEVICE)),)
+ GPS_CONF := $(COMMON_PATH)/gps/gps-cdma.conf
+else
+ GPS_CONF := $(COMMON_PATH)/gps/gps.conf
+endif
+
+PRODUCT_COPY_FILES += \
+ $(GPS_CONF):/system/etc/gps.conf
+