summaryrefslogtreecommitdiff
path: root/msmfalcon_64.mk
diff options
context:
space:
mode:
Diffstat (limited to 'msmfalcon_64.mk')
-rw-r--r--msmfalcon_64.mk83
1 files changed, 83 insertions, 0 deletions
diff --git a/msmfalcon_64.mk b/msmfalcon_64.mk
new file mode 100644
index 0000000..e04838c
--- /dev/null
+++ b/msmfalcon_64.mk
@@ -0,0 +1,83 @@
+DEVICE_PACKAGE_OVERLAYS := device/qcom/msmfalcon_64/overlay
+TARGET_KERNEL_VERSION := 4.4
+BOARD_HAVE_QCOM_FM := true
+TARGET_USES_QTIC := false # bring-up hack
+TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
+# Video codec configuration files
+ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true)
+PRODUCT_COPY_FILES += device/qcom/msmfalcon_32/media_profiles.xml:system/etc/media_profiles.xml \
+ device/qcom/msmfalcon_32/media_codecs.xml:system/etc/media_codecs.xml
+endif #TARGET_ENABLE_QC_AV_ENHANCEMENTS
+
+$(call inherit-product, device/qcom/common/common64.mk)
+
+PRODUCT_NAME := msmfalcon_64
+PRODUCT_DEVICE := msmfalcon_64
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := Falcon for arm64
+
+# default is nosdcard, S/W button enabled in resource
+PRODUCT_CHARACTERISTICS := nosdcard
+
+# Enable features in video HAL that can compile only on this platform
+TARGET_USES_MEDIA_EXTENSIONS := true
+
+#Android EGL implementation
+PRODUCT_PACKAGES += libGLES_android
+PRODUCT_BOOT_JARS += tcmiface
+PRODUCT_BOOT_JARS += telephony-ext
+
+PRODUCT_PACKAGES += telephony-ext
+
+ifneq ($(strip $(QCPATH)),)
+PRODUCT_BOOT_JARS += WfdCommon
+endif
+
+ifeq ($(strip $(BOARD_HAVE_QCOM_FM)),true)
+PRODUCT_BOOT_JARS += qcom.fmradio
+endif #BOARD_HAVE_QCOM_FM
+
+# Audio configuration file
+-include $(TOPDIR)hardware/qcom/audio/configs/msmfalcon/msmfalcon.mk
+
+# Sensor HAL conf file
+PRODUCT_COPY_FILES += \
+ device/qcom/msmfalcon_64/sensors/hals.conf:system/etc/sensors/hals.conf
+
+# WLAN driver configuration file
+PRODUCT_COPY_FILES += \
+ device/qcom/msmfalcon_64/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
+
+PRODUCT_PACKAGES += \
+ wpa_supplicant_overlay.conf \
+ p2p_supplicant_overlay.conf
+
+#ANT+ stack
+PRODUCT_PACKAGES += \
+ AntHalService \
+ libantradio \
+ antradio_app \
+ libvolumelistener
+
+
+# Sensor features
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
+ frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
+ frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
+ frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
+ frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
+ frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
+ frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \
+ frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml \
+ frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:system/etc/permissions/android.hardware.sensor.ambient_temperature.xml \
+ frameworks/native/data/etc/android.hardware.sensor.relative_humidity.xml:system/etc/permissions/android.hardware.sensor.relative_humidity.xml \
+ frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:system/etc/permissions/android.hardware.sensor.hifi_sensors.xml
+
+# MSM IRQ Balancer configuration file
+PRODUCT_COPY_FILES += device/qcom/msmfalcon_64/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf
+
+#for android_filesystem_config.h
+PRODUCT_PACKAGES += \
+ fs_config_files
+