aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/conf/layer.conf
blob: 666405a9b85c777a523dcf2218f8fcf1ff68ad16 (plain)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a recipes directory, add to BBFILES
BBFILES += " \
    ${LAYERDIR}/recipes-*/*/*.bb \
    ${LAYERDIR}/recipes-*/*/*.bbappend \
"

BBFILE_COLLECTIONS += "rcar-gen3-adas"
BBFILE_PATTERN_rcar-gen3-adas := "^${LAYERDIR}/"
BBFILE_PRIORITY_rcar-gen3-adas = "7"

# Custom packages
IMAGE_INSTALL_append_rcar-gen3 = " \
    kernel-modules \
    kernel-devicetree \
    can-utils \
    libsocketcan \
    iproute2 \
    iproute2-tc \
    linuxptp \
    spidev-dbg spidev-test \
    e2fsprogs \
    e2fsprogs-tune2fs \
    ethtool \
    pciutils \
    usbutils \
    util-linux \
    mtd-utils \
    capture \
    v4l2-fw \
    iperf \
    bonnie++ \
    lmbench \
    strace \
    libpcap \
    eglibc-utils \
    ldd \
    procps \
    rsync \
    mm-init \
    iio-utils \
    pulseaudio-server \
    pulseaudio-misc \
    pulseaudio-module-cli \
    pulseaudio-module-remap-sink \
    pulseaudio-module-remap-source \
    pulseaudio-module-loopback \
    gstreamer1.0-plugins-good-pulse \
    gdbserver \
    most-tools \
    perf \
    dropbear \
    opkg \
    git \
    git-perltools \
    subversion \
    nano \
    cmake \
    make \
    gcc \
    g++ \
    gdb \
    vim \
    trace-cmd \
"

# Radio packages
IMAGE_INSTALL_append_rcar-gen3 += " \
    si-tools \
    linux-firmware-wl18xx \
    wireless-tools \
    ti-bt \
    ti-bt-firmware \
    bluez5 \
    bluez5-testtools \
    pulseaudio-module-bluez5-device \
    pulseaudio-module-bluez5-discover \
    pulseaudio-module-bluetooth-discover \
    pulseaudio-module-bluetooth-policy \
    ofono \
    ofono-tests \
    br-test \
"

# IMP
IMAGE_INSTALL_append_r8a7797 += " \
    kernel-module-uio-imp \
    kernel-module-cmemdrv \
    udev-rules-cvlib \
"

IMAGE_INSTALL_append_r8a7798 += " \
    kernel-module-uio-imp \
    kernel-module-cmemdrv \
    udev-rules-cvlib \
"

# ISP
IMAGE_INSTALL_append_r8a7797 += " \
    kernel-module-uio-isp \
"

IMAGE_INSTALL_append_r8a7798 += " \
    kernel-module-uio-isp \
"

DISTRO_FEATURES_remove="x11"
DISTRO_FEATURES_append = " surroundview "
DISTRO_FEATURES_append = " opencv-sdk "
DISTRO_FEATURES_append = " bluetooth"
DISTRO_FEATURES_append = " pulseaudio"

IMAGE_INSTALL_remove = "gtk+3-demo clutter-1.0-examples"

EXTRA_IMAGE_FEATURES_append_rcar-gen3 = " eclipse-debug"

EX_IMG_FEATURES = " \
    dev-pkgs \
    tools-sdk \
    tools-profile \
    tools-debug \
    package-management \
"
EXTRA_IMAGE_FEATURES_append_r8a7797 += " ${EX_IMG_FEATURES}"
EXTRA_IMAGE_FEATURES_append_r8a7798 += " ${EX_IMG_FEATURES}"

PREFERRED_VERSION_opencv = "2.4%"