-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevice.mk
59 lines (49 loc) · 2.69 KB
/
device.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
#
# Copyright (C) 2013 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.
#
PRODUCT_COPY_FILES += \
device/hardkernel/odroidc2/init.odroidc2.board.rc:root/init.odroidc2.board.rc \
device/hardkernel/odroidc2/init.odroidc2.usb.rc:root/init.odroidc2.usb.rc \
device/hardkernel/odroidc2/init.odroidc2.rc:root/init.odroidc2.rc \
device/hardkernel/odroidc2/ueventd.odroidc2.rc:root/ueventd.odroidc2.rc
PRODUCT_COPY_FILES += \
device/hardkernel/odroidc2/recovery/init.recovery.odroidc2.rc:root/init.recovery.odroidc2.rc
PRODUCT_COPY_FILES += \
device/hardkernel/odroidc2/files/media_profiles.xml:system/etc/media_profiles.xml \
device/hardkernel/odroidc2/files/audio_policy.conf:system/etc/audio_policy.conf \
device/hardkernel/odroidc2/files/media_codecs.xml:system/etc/media_codecs.xml \
device/hardkernel/odroidc2/files/mixer_paths.xml:system/etc/mixer_paths.xml \
device/hardkernel/odroidc2/files/mesondisplay.cfg:system/etc/mesondisplay.cfg \
device/hardkernel/odroidc2/files/boot.ini.template:system/etc/boot.ini.template \
device/hardkernel/odroidc2/files/preinstall.sh:system/bin/preinstall.sh \
device/hardkernel/odroidc2/files/makebootini.sh:system/bin/makebootini.sh \
device/hardkernel/odroidc2/files/usb_reset.sh:system/bin/usb_reset.sh \
device/hardkernel/odroidc2/files/ups3.sh:system/bin/ups3.sh \
device/hardkernel/odroidc2/files/rotation.sh:system/bin/rotation.sh \
device/hardkernel/odroidc2/files/vu8_backlight.sh:system/bin/vu8_backlight.sh \
device/hardkernel/odroidc2/files/hardkernel-720.bmp.gz:system/etc/hardkernel-720.bmp.gz
# remote IME config file
PRODUCT_COPY_FILES += \
device/hardkernel/odroidc2/files/remote.conf:system/etc/remote.conf \
device/hardkernel/odroidc2/files/Vendor_0001_Product_0001.kl:/system/usr/keylayout/Vendor_0001_Product_0001.kl
PRODUCT_CHARACTERISTICS := tablet
DEVICE_PACKAGE_OVERLAYS := \
device/hardkernel/odroidc2/overlay
PRODUCT_TAGS += dalvik.gc.type-precise
# setup dalvik vm configs.
$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
# set default USB configuration
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp