-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpi3.mk
49 lines (37 loc) · 1.51 KB
/
rpi3.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
# Note: the following lines need to stay at the beginning so that it can
# take priority and override the rules it inherit from other mk files
# see copy file rules in core/Makefile
PRODUCT_COPY_FILES += \
device/brobwind/rpi3/boot/kernel-v4.14/vmlinuz-4.14.61-v8+:kernel
PRODUCT_COPY_FILES += \
device/brobwind/rpi3/mkshrc:system/etc/mkshrc \
device/brobwind/rpi3/vndk/ld.config.28.txt:system/etc/ld.config.28.txt
# Inherit common Android Go 512M.
$(call inherit-product, build/target/product/go_defaults_512.mk)
$(call inherit-product, device/brobwind/rpi3/mini_common.mk)
$(call inherit-product, device/brobwind/rpi3/mini_rpi3_common.mk)
PRODUCT_NAME := rpi3
PRODUCT_DEVICE := rpi3
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := brobwind
PRODUCT_MODEL := Mini for RPI3
PRODUCT_LOCALES := en_US zh_CN zh_HK zh_TW
# default is nosdcard, S/W button enabled in resource
DEVICE_PACKAGE_OVERLAYS := device/brobwind/rpi3/overlay
PRODUCT_CHARACTERISTICS := nosdcard
PRODUCT_SHIPPING_API_LEVEL := 28
# It takes too much GPU memory
PRODUCT_COPY_FILES += \
device/brobwind/rpi3/bootanimation.zip:system/media/bootanimation.zip
# TODO(b/78308559): includes vr_hwc into GSI before vr_hwc move to vendor
PRODUCT_PACKAGES += \
vr_hwc
PRODUCT_PACKAGES += \
Chrome \
RPiTool
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.isa.arm.variant=cortex-a53 \
debug.hwui.use_partial_updates=0 \
ro.frp.pst=/dev/block/platform/soc/3f202000.mmc/by-name/frp \
ro.sf.lcd_density=240 \
ro.opengles.version=131072 \