-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrustme_bullhead_a0.mk
76 lines (61 loc) · 2.93 KB
/
trustme_bullhead_a0.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
#
# This file is part of trust|me
# Copyright(c) 2013 - 2018 Fraunhofer AISEC
# Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2 (GPL 2), as published by the Free Software Foundation.
#
# This program is distributed in the hope it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GPL 2 license for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, see <http://www.gnu.org/licenses/>
#
# The full GNU General Public License is included in this distribution in
# the file called "COPYING".
#
# Contact Information:
# Fraunhofer AISEC <[email protected]>
#
# Get the long list of APNs
PRODUCT_COPY_FILES := device/lge/bullhead/apns-full-conf.xml:system/etc/apns-conf.xml
## Copy audio config with disabled offload device (due to missing kernel namespace)
#PRODUCT_COPY_FILES := \
# device/fraunhofer/trustme_bullhead_a0/audio_policy.conf:system/etc/audio_policy.conf \
# device/fraunhofer/trustme_bullhead_a0/mixer_paths.xml:system/etc/mixer_paths.xml
# Overwrite disabled functions with empty xml (needs to be done before anything else is included)
PRODUCT_COPY_FILES += \
device/fraunhofer/trustme_generic/empty.xml:system/etc/permissions/android.hardware.fingerprint.xml
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
# Inherit from those products. Most specific first.
$(call inherit-product, device/fraunhofer/trustme_generic/trustme_generic_a0.mk)
## overwrite dalvik parameters with values for a 521MB low-ram device
#$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
#PRODUCT_PROPERTY_OVERRIDES += ro.config.low_ram=true
# Inherit from bullhead device
$(call inherit-product, device/lge/bullhead/device.mk)
# do not use binarie from any device specicifc bullhead-kernel.git
TARGET_PREBUILT_KERNEL := device/fraunhofer/trustme_bullhead_a0/dummy_kernel
# Set those variables here to overwrite the inherited values.
PRODUCT_NAME := trustme_bullhead_a0
PRODUCT_DEVICE := trustme_bullhead_a0
PRODUCT_BRAND := Android
PRODUCT_MODEL := trustme_bullhead_a0
PRODUCT_MANUFACTURER := fraunhofer
TRUSTME_HARDWARE := bullhead
NANOHUB_SENSORHAL_NAME_OVERRIDE := sensors.$(TRUSTME_HARDWARE)
#DEVICE_PACKAGE_OVERLAYS += device/fraunhofer/trustme_bullhead_a0/overlay
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=adb
# GPS
PRODUCT_PACKAGES += \
libgps.utils \
gps.msm8992
# include binary blobs
$(call inherit-product-if-exists, vendor/lge/bullhead/device-vendor.mk)
$(call inherit-product-if-exists, vendor/lge/bullhead/bullhead-vendor.mk)
PRODUCT_COPY_FILES += \
device/fraunhofer/trustme_bullhead_a0/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf