forked from CyanogenMod/android_device_samsung_c1-common
-
Notifications
You must be signed in to change notification settings - Fork 2
/
common.mk
152 lines (138 loc) · 9.58 KB
/
common.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is the device-specific product definition file for
# crespo. It lists all the overlays, files, modules and properties
# that are specific to this hardware: i.e. those are device-specific
# drivers, configuration files, settings, etc...
# Note that crespo is not a fully open device. Some of the drivers
# aren't publicly available in all circumstances, which means that some
# of the hardware capabilities aren't present in builds where those
# drivers aren't available. Such cases are handled by having this file
# separated into two halves: this half here contains the parts that
# are available to everyone, while another half in the vendor/ hierarchy
# augments that set with the parts that are only relevant when all the
# associated drivers are available. Aspects that are irrelevant but
# harmless in no-driver builds should be kept here for simplicity and
# transparency. There are two variants of the half that deals with
# the unavailable drivers: one is directly checked into the unreleased
# vendor tree and is used by engineers who have access to it. The other
# is generated by setup-makefile.sh in the same directory as this files,
# and is used by people who have access to binary versions of the drivers
# but not to the original vendor tree. Be sure to update both.
# These is the hardware-specific overlay, which points to the location
# of hardware-specific resource overrides, typically the frameworks and
# application settings that are stored in resourced.
DEVICE_PACKAGE_OVERLAYS += device/samsung/c1-common/overlay
# Libs
PRODUCT_PACKAGES := \
gps.smdkv310 \
sensors.smdkv310 \
lights.smdkv310 \
mediaserver.smdkv310 \
overlay.smdkv310 \
libstagefrighthw \
libexifa \
libjpega \
com.android.future.usb.accessory \
bdaddr_read
# These are the hardware-specific configuration files
PRODUCT_COPY_FILES := \
device/samsung/c1-common/etc/asound.conf:system/etc/asound.conf \
device/samsung/c1-common/etc/gps.conf:system/etc/gps.conf \
device/samsung/c1-common/etc/nvram_net.txt:system/etc/nvram_net.txt \
device/samsung/c1-common/etc/sirfgps.conf:system/etc/sirfgps.conf \
device/samsung/c1-common/etc/vold.fstab:system/etc/vold.fstab \
device/samsung/c1-common/egl.cfg:system/lib/egl/egl.cfg
# Init files
PRODUCT_COPY_FILES += \
device/samsung/c1-common/init.rc:root/init.rc \
device/samsung/c1-common/lpm.rc:root/lpm.rc \
device/samsung/c1-common/init.smdkc210.rc:root/init.smdkc210.rc \
device/samsung/c1-common/init.smdkv310.rc:root/init.smdkv310.rc \
device/samsung/c1-common/ueventd.smdkv310.rc:root/ueventd.smdkv310.rc
# Configuration files for audio
PRODUCT_COPY_FILES += \
device/samsung/c1-common/etc/audio/LVVEFS_Rx_Configuration.txt:system/etc/audio/LVVEFS_Rx_Configuration.txt \
device/samsung/c1-common/etc/audio/LVVEFS_Tx_Configuration.txt:system/etc/audio/LVVEFS_Tx_Configuration.txt \
device/samsung/c1-common/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt:system/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Rx_ControlParams_SPEAKER_WIDEBAND.txt:system/etc/audio/Rx_ControlParams_SPEAKER_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Rx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt:system/etc/audio/Rx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Rx_ControlParams_WIRED_HEADSET_WIDEBAND.txt:system/etc/audio/Rx_ControlParams_WIRED_HEADSET_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Tx_ControlParams_EARPIECE_WIDEBAND.txt:system/etc/audio/Tx_ControlParams_EARPIECE_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Tx_ControlParams_SPEAKER_WIDEBAND.txt:system/etc/audio/Tx_ControlParams_SPEAKER_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Tx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt:system/etc/audio/Tx_ControlParams_WIRED_HEADPHONE_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/Tx_ControlParams_WIRED_HEADSET_WIDEBAND.txt:system/etc/audio/Tx_ControlParams_WIRED_HEADSET_WIDEBAND.txt \
device/samsung/c1-common/etc/audio/codec/FMRadioEar.ini:system/etc/audio/codec/FMRadioEar.ini \
device/samsung/c1-common/etc/audio/codec/FMRadioSpk.ini:system/etc/audio/codec/FMRadioSpk.ini \
device/samsung/c1-common/etc/audio/codec/MusicEar.ini:system/etc/audio/codec/MusicEar.ini \
device/samsung/c1-common/etc/audio/codec/MusicSpk.ini:system/etc/audio/codec/MusicSpk.ini \
device/samsung/c1-common/etc/audio/codec/RecHeadSetMic.ini:system/etc/audio/codec/RecHeadSetMic.ini \
device/samsung/c1-common/etc/audio/codec/RecMainMic.ini:system/etc/audio/codec/RecMainMic.ini \
device/samsung/c1-common/etc/audio/codec/RecSubMic.ini:system/etc/audio/codec/RecSubMic.ini \
device/samsung/c1-common/etc/audio/codec/RingtoneEar.ini:system/etc/audio/codec/RingtoneEar.ini \
device/samsung/c1-common/etc/audio/codec/RingtoneSpk.ini:system/etc/audio/codec/RingtoneSpk.ini \
device/samsung/c1-common/etc/audio/codec/VoiceCall3pEar.ini:system/etc/audio/codec/VoiceCall3pEar.ini \
device/samsung/c1-common/etc/audio/codec/VoiceCall4pEar.ini:system/etc/audio/codec/VoiceCall4pEar.ini \
device/samsung/c1-common/etc/audio/codec/VoiceCallBT.ini:system/etc/audio/codec/VoiceCallBT.ini \
device/samsung/c1-common/etc/audio/codec/VoiceCallRcv.ini:system/etc/audio/codec/VoiceCallRcv.ini \
device/samsung/c1-common/etc/audio/codec/VoiceCallSpk.ini:system/etc/audio/codec/VoiceCallSpk.ini \
device/samsung/c1-common/etc/audio/codec/VoiceRecHeadSetMic.ini:system/etc/audio/codec/VoiceRecHeadSetMic.ini \
device/samsung/c1-common/etc/audio/codec/VoiceRecMainMic.ini:system/etc/audio/codec/VoiceRecMainMic.ini \
device/samsung/c1-common/etc/audio/codec/VoipCall3pEar.ini:system/etc/audio/codec/VoipCall3pEar.ini \
device/samsung/c1-common/etc/audio/codec/VoipCall4pEar.ini:system/etc/audio/codec/VoipCall4pEar.ini \
device/samsung/c1-common/etc/audio/codec/VoipCallRcv.ini:system/etc/audio/codec/VoipCallRcv.ini \
device/samsung/c1-common/etc/audio/codec/VoipCallSpk.ini:system/etc/audio/codec/VoipCallSpk.ini \
device/samsung/c1-common/etc/audio/codec/VtCall3pEar.ini:system/etc/audio/codec/VtCall3pEar.ini \
device/samsung/c1-common/etc/audio/codec/VtCall4pEar.ini:system/etc/audio/codec/VtCall4pEar.ini \
device/samsung/c1-common/etc/audio/codec/VtCallBT.ini:system/etc/audio/codec/VtCallBT.ini \
device/samsung/c1-common/etc/audio/codec/VtCallRcv.ini:system/etc/audio/codec/VtCallRcv.ini \
device/samsung/c1-common/etc/audio/codec/VtCallSpk.ini:system/etc/audio/codec/VtCallSpk.ini
# Alsa configuration files
PRODUCT_COPY_FILES += \
device/samsung/c1-common/usr/share/alsa/alsa.conf:system/usr/share/alsa/alsa.conf \
device/samsung/c1-common/usr/share/alsa/cards/aliases.conf:system/usr/share/alsa/cards/aliases.conf \
device/samsung/c1-common/usr/share/alsa/pcm/center_lfe.conf:system/usr/share/alsa/pcm/center_lfe.conf \
device/samsung/c1-common/usr/share/alsa/pcm/default.conf:system/usr/share/alsa/pcm/default.conf \
device/samsung/c1-common/usr/share/alsa/pcm/dmix.conf:system/usr/share/alsa/pcm/dmix.conf \
device/samsung/c1-common/usr/share/alsa/pcm/dpl.conf:system/usr/share/alsa/pcm/dpl.conf \
device/samsung/c1-common/usr/share/alsa/pcm/dsnoop.conf:system/usr/share/alsa/pcm/dsnoop.conf \
device/samsung/c1-common/usr/share/alsa/pcm/front.conf:system/usr/share/alsa/pcm/front.conf \
device/samsung/c1-common/usr/share/alsa/pcm/iec958.conf:system/usr/share/alsa/pcm/iec958.conf \
device/samsung/c1-common/usr/share/alsa/pcm/modem.conf:system/usr/share/alsa/pcm/modem.conf \
device/samsung/c1-common/usr/share/alsa/pcm/rear.conf:system/usr/share/alsa/pcm/rear.conf \
device/samsung/c1-common/usr/share/alsa/pcm/side.conf:system/usr/share/alsa/pcm/side.conf \
device/samsung/c1-common/usr/share/alsa/pcm/surround40.conf:system/usr/share/alsa/pcm/surround40.conf \
device/samsung/c1-common/usr/share/alsa/pcm/surround41.conf:system/usr/share/alsa/pcm/surround41.conf \
device/samsung/c1-common/usr/share/alsa/pcm/surround50.conf:system/usr/share/alsa/pcm/surround50.conf \
device/samsung/c1-common/usr/share/alsa/pcm/surround51.conf:system/usr/share/alsa/pcm/surround51.conf \
device/samsung/c1-common/usr/share/alsa/pcm/surround71.conf:system/usr/share/alsa/pcm/surround71.conf
# Prebuilt kl keymaps
PRODUCT_COPY_FILES += \
device/samsung/c1-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
device/samsung/c1-common/keylayout/Broadcom_Bluetooth_HID.kl:system/usr/keylayout/Broadcom_Bluetooth_HID.kl \
device/samsung/c1-common/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
device/samsung/c1-common/keylayout/sec_jack.kl:system/usr/keylayout/sec_jack.kl \
device/samsung/c1-common/keylayout/sec_key.kl:system/usr/keylayout/sec_key.kl \
device/samsung/c1-common/keylayout/sec_touchkey.kl:system/usr/keylayout/sec_touchkey.kl
# configuration files
PRODUCT_COPY_FILES += \
device/samsung/c1-common/etc/media_profiles.xml:system/etc/media_profiles.xml \
device/samsung/c1-common/sec_mm/sec_omx/sec_omx_core/secomxregistry:system/etc/secomxregistry \
# These are the OpenMAX IL modules
PRODUCT_PACKAGES += \
libSEC_OMX_Core.smdkv310 \
libOMX.SEC.AVC.Decoder.smdkv310 \
libOMX.SEC.M4V.Decoder.smdkv310 \
libOMX.SEC.M4V.Encoder.smdkv310 \
libOMX.SEC.AVC.Encoder.smdkv310