summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon2014-11-11 17:28:38 -0600
committerNishanth Menon2014-11-11 17:28:38 -0600
commit88fc70c0850794fb0bce52f63dfcc0d8f3d5062e (patch)
treebd2acd9a43827c481dfcca8049f0206c2f7979ef /device.mk
downloaddevice-ti-x15-88fc70c0850794fb0bce52f63dfcc0d8f3d5062e.tar.gz
device-ti-x15-88fc70c0850794fb0bce52f63dfcc0d8f3d5062e.tar.xz
device-ti-x15-88fc70c0850794fb0bce52f63dfcc0d8f3d5062e.zip
initial baseline from TI's code
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'device.mk')
-rw-r--r--device.mk155
1 files changed, 155 insertions, 0 deletions
diff --git a/device.mk b/device.mk
new file mode 100644
index 0000000..9da24d5
--- /dev/null
+++ b/device.mk
@@ -0,0 +1,155 @@
1#
2# Copyright (C) 2011 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17ifeq ($(TARGET_PREBUILT_KERNEL),)
18LOCAL_KERNEL := device/ti/jacinto6evm/kernel
19else
20LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
21endif
22
23PRODUCT_COPY_FILES := \
24 $(LOCAL_KERNEL):kernel \
25 device/ti/jacinto6evm/tablet_core_hardware_jacinto6evm.xml:system/etc/permissions/tablet_core_hardware_jacinto6evm.xml \
26 device/ti/jacinto6evm/init.jacinto6evmboard.rc:root/init.jacinto6evmboard.rc \
27 device/ti/jacinto6evm/init.jacinto6evmboard.usb.rc:root/init.jacinto6evmboard.usb.rc \
28 device/ti/jacinto6evm/ueventd.jacinto6evmboard.rc:root/ueventd.jacinto6evmboard.rc \
29 device/ti/jacinto6evm/fstab.jacinto6evmboard:root/fstab.jacinto6evmboard \
30 device/ti/jacinto6evm/media_profiles.xml:system/etc/media_profiles.xml \
31 device/ti/jacinto6evm/media_codecs.xml:system/etc/media_codecs.xml \
32 device/ti/jacinto6evm/bootanimation.zip:/system/media/bootanimation.zip \
33 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
34 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
35 frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
36 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
37 device/ti/jacinto6evm/Atmel_maXTouch_Touchscreen.idc:system/usr/idc/Atmel_maXTouch_Touchscreen.idc \
38 device/ti/jacinto6evm/LDC_3001_TouchScreen_Controller.idc:system/usr/idc/LDC_3001_TouchScreen_Controller.idc \
39
40# These are the hardware-specific features
41PRODUCT_COPY_FILES += \
42 frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \
43 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \
44
45PRODUCT_PACKAGES := \
46 e2fsck
47
48PRODUCT_PROPERTY_OVERRIDES := \
49 hwui.render_dirty_regions=false
50
51PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
52 persist.sys.usb.config=mtp
53
54PRODUCT_PROPERTY_OVERRIDES += \
55 ro.opengles.version=131072
56
57PRODUCT_CHARACTERISTICS := tablet,nosdcard
58
59DEVICE_PACKAGE_OVERLAYS := \
60 device/ti/jacinto6evm/overlay
61
62PRODUCT_TAGS += dalvik.gc.type-precise
63
64PRODUCT_PACKAGES += \
65 com.android.future.usb.accessory
66
67PRODUCT_PROPERTY_OVERRIDES += \
68 ro.sf.lcd_density=160
69
70# WI-Fi
71PRODUCT_PACKAGES += \
72 hostapd.conf \
73 wifical.sh \
74 TQS_D_1.7.ini \
75 TQS_D_1.7_127x.ini \
76 crda \
77 regulatory.bin \
78 wlconf
79
80PRODUCT_PACKAGES += \
81 LegacyCamera \
82 camera_test \
83 ion_tiler_test \
84 iontest \
85 ion_ti_test2 \
86 vpetest
87
88# Audio HAL modules
89PRODUCT_PACKAGES += audio.primary.jacinto6
90PRODUCT_PACKAGES += audio.hdmi.jacinto6
91# BlueDroid a2dp Audio HAL module
92PRODUCT_PACKAGES += audio.a2dp.default
93# Remote submix
94PRODUCT_PACKAGES += audio.r_submix.default
95
96# Audio policy
97PRODUCT_PACKAGES += audio_policy.jacinto6
98
99PRODUCT_PACKAGES += \
100 audio_policy.conf \
101 mixer_paths.xml
102
103PRODUCT_PACKAGES += \
104 tinymix \
105 tinyplay \
106 tinycap
107
108# Radio
109PRODUCT_PACKAGES += \
110 HelloRadio \
111 lad_dra7xx \
112 libtiipc \
113 libtiipcutils
114
115# Can utilities
116PRODUCT_PACKAGES += \
117 libcan \
118 bcmserver \
119 canbusload \
120 can-calc-bit-timing \
121 candump \
122 canfdtest \
123 cangen \
124 cangw \
125 canlogserver \
126 canplayer \
127 cansend \
128 cansniffer \
129 isotpdump \
130 isotprecv \
131 isotpsend \
132 isotpserver \
133 isotpsniffer.c \
134 isotptun \
135 log2asc \
136 log2long \
137 slcan_attach \
138 slcand \
139 slcanpty \
140
141# Enable AAC 5.1 decode (decoder)
142PRODUCT_PROPERTY_OVERRIDES += \
143 media.aac_51_output_enabled=true
144
145# Multi-zone audio (requires OMAP_MULTIZONE_AUDIO, see BoardConfig.mk)
146PRODUCT_PROPERTY_OVERRIDES += \
147 ro.com.ti.omap_multizone_audio=true
148
149$(call inherit-product, frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk)
150$(call inherit-product-if-exists, hardware/ti/omap4xxx/jacinto6.mk)
151$(call inherit-product-if-exists, hardware/ti/wpan/ti-wpan-products.mk)
152$(call inherit-product-if-exists, device/ti/proprietary-open/jacinto6/ti-jacinto6-vendor.mk)
153$(call inherit-product-if-exists, device/ti/proprietary-open/jacinto6/ducati-full_jacinto6evm.mk)
154$(call inherit-product-if-exists, device/ti/proprietary-open/wl12xx/wlan/wl12xx-wlan-fw-products.mk)
155$(call inherit-product-if-exists, device/ti/proprietary-open/wl12xx/wpan/wl12xx-wpan-fw-products.mk)