This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
device.mk
89 lines (74 loc) · 2.86 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
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
#
# Copyright (C) 2011 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.
#
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/ti/panda/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES := \
$(LOCAL_KERNEL):kernel \
device/ti/panda/orng.ko:system/lib/modules/orng.ko \
device/ti/panda/init.omap4pandaboard.rc:root/init.omap4pandaboard.rc \
device/ti/panda/init.omap4pandaboard.usb.rc:root/init.omap4pandaboard.usb.rc \
device/ti/panda/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \
device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \
device/ti/panda/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
device/ti/panda/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
PRODUCT_PACKAGES := \
make_ext4fs \
com.android.future.usb.accessory
PRODUCT_PROPERTY_OVERRIDES := \
wifi.interface=wlan0 \
hwui.render_dirty_regions=false
PRODUCT_CHARACTERISTICS := tablet,nosdcard
DEVICE_PACKAGE_OVERLAYS := \
device/ti/panda/overlay
#HWC Hal
PRODUCT_PACKAGES += \
hwcomposer.omap4
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_PACKAGES += \
librs_jni \
com.android.future.usb.accessory
PRODUCT_PACKAGES += \
audio.primary.panda \
audio.a2dp.default \
libaudioutils
PRODUCT_PACKAGES += \
dhcpcd.conf \
TQS_D_1.7.ini \
calibrator
# Filesystem management tools
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs
# BlueZ test tools
PRODUCT_PACKAGES += \
hciconfig \
hcitool
PRODUCT_PACKAGES += send_bug
PRODUCT_COPY_FILES += \
system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
system/extras/bugmailer/send_bug:system/bin/send_bug
$(call inherit-product-if-exists, vendor/ti/panda/device-vendor.mk)
$(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk)
$(call inherit-product, hardware/ti/omap4xxx/omap4.mk)
$(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk)
$(call inherit-product, device/ti/panda/wl12xx/ti-wl12xx-vendor.mk)
$(call inherit-product, device/ti/panda/wl12xx/ti-wpan-products.mk)