-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdevice.mk
51 lines (41 loc) · 1.84 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
#
# Copyright (C) 2011 The Android Open-Source Project
# Copyright (C) 2011 The CyanogenMod 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 includes all definitions that apply to ALL tuna devices, and
# are also specific to tuna devices
#
# Everything in this directory will become public
DEVICE_FOLDER := device/bn/ovation
TARGET_BOOTLOADER_BOARD_NAME := ovation
$(call inherit-product, device/bn/bn-common/common.mk)
# copy all kernel modules under the "modules" directory to system/lib/modules
#PRODUCT_COPY_FILES += $(shell \
# find $(DEVICE_FOLDER)/modules -name '*.ko' \
# | sed -r 's/^\/?(.*\/)([^/ ]+)$$/\1\2:system\/lib\/modules\/\2/' \
# | tr '\n' ' ')
PRODUCT_COPY_FILES += \
$(DEVICE_FOLDER)/root/init.ovation.rc:root/init.ovation.rc \
$(DEVICE_FOLDER)/root/init.ovation.usb.rc:root/init.ovation.usb.rc \
$(DEVICE_FOLDER)/root/ueventd.ovation.rc:root/ueventd.ovation.rc \
# Vold
PRODUCT_COPY_FILES += \
$(DEVICE_FOLDER)/prebuilt/etc/vold.ovation.fstab:system/etc/vold.fstab
# postrecoveryboot for recovery
PRODUCT_COPY_FILES += \
$(DEVICE_FOLDER)/recovery/postrecoveryboot.sh:recovery/root/sbin/postrecoveryboot.sh
PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi
$(call inherit-product-if-exists, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/bn/hd-common/hd-common-vendor.mk)