forked from android-rpi/device_arpi_rpi4
-
Notifications
You must be signed in to change notification settings - Fork 6
/
rpi4car.mk
100 lines (89 loc) · 2.44 KB
/
rpi4car.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
90
91
92
93
94
95
96
97
98
99
100
$(call inherit-product, $(LOCAL_PATH)/device.mk)
$(call inherit-product, packages/services/Car/car_product/build/car.mk)
PRODUCT_NAME := rpi4car
PRODUCT_DEVICE := rpi4
PRODUCT_BRAND := arpi
PRODUCT_MANUFACTURER := ARP
PRODUCT_MODEL := Raspberry Pi 4
PRODUCT_CHARACTERISTICS := car
PRODUCT_PACKAGES += \
Gear
#Automotive
PRODUCT_PACKAGES += \
android.hardware.automotive.vehicle@2.0-service
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.type.automotive.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.type.automotive.xml \
frameworks/native/data/etc/android.hardware.screen.landscape.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.screen.landscape.xml \
frameworks/native/data/etc/android.software.activities_on_secondary_displays.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.activities_on_secondary_displays.xml
PRODUCT_SYSTEM_SERVER_JARS += car-frameworks-service
PRODUCT_PROPERTY_OVERRIDES += \
android.car.drawer.unlimited=true \
android.car.hvac.demo=true \
com.android.car.radio.demo=true \
com.android.car.radio.demo.dual=true
PRODUCT_PACKAGES += \
Gear \
PRODUCT_PACKAGES += \
vehicle.default \
GearApp \
CarGearApp \
CarSettings \
CarLauncher \
CarService \
CarTrustAgentService \
android.hardware.automotive.vehicle@2.0-service \
CarDialerApp \
CarRadioApp \
OverviewApp \
CarLensPickerApp \
LocalMediaPlayer \
CarMediaApp \
CarMessengerApp \
CarHvacApp \
CarMapsPlaceholder \
CarLatinIME \
CarUsbHandler \
DirectRenderingCluster \
android.car \
car-frameworks-service \
com.android.car.procfsinspector \
libcar-framework-service-jni \
NoCutoutOverlay
# CAN
# PRODUCT_PACKAGES += \
# PRODUCT_COPY_FILES += \
# $(LOCAL_PATH)/can/setup-can.sh:/system/etc/setup-can.sh \
# $(LOCAL_PATH)/can/init.can.rc:root/init.can.rc
# Can-Utils: https://github.com/linux-can/can-utils/
PRODUCT_PACKAGES += \
libcan \
libj1939 \
j1939acd \
j1939cat \
j1939spy \
j1939sr \
testj1939 \
candump \
cansend \
bcmserver \
can-calc-bit-timing \
canbusload \
canfdtest \
cangen \
cangw \
canlogserver \
canplayer \
cansniffer \
isotpdump \
isotprecv \
isotpsend \
isotpserver \
isotpsniffer \
isotptun \
isotpperf \
log2asc \
asc2log \
log2long \
slcan_attach \
slcand \
slcanpty