summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3-adas/conf/layer.conf
blob: c41fcf54a8d628fa890ebc15fcfa85d1961739e3 (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

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.hig
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

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

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

LAYERSERIES_COMPAT_rcar-gen3-cogent = "thud"

# Custom packages
IMAGE_INSTALL_append_rcar-gen3 = " \
    can-utils \
    libsocketcan \
    spidev-dbg spidev-test \
    e2fsprogs \
    e2fsprogs-tune2fs \
    ethtool \
    pciutils \
    usbutils \
    mtd-utils \
    capture \
    v4l2-fw \
    iperf3 \
    bonnie++ \
    lmbench \
    eglibc-utils \
    mm-init \
    iio-utils \
    most-tools \
"

# Radio packages
IMAGE_INSTALL_append_rcar-gen3 += " \
    si-tools \
    linux-firmware-wl18xx \
    ti-bt \
    ti-bt-firmware \
    bluez5 \
    bluez5-testtools \
    ofono \
    ofono-tests \
"

# 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 \
"

DISTRO_FEATURES_append = " surroundview "
DISTRO_FEATURES_append = " bluetooth"


BBMASK += "/meta-rcar-gen3-adas/recipes-core/systemd/"
BBMASK += "/meta-rcar-gen3-adas/recipes-graphics/opencv/"
BBMASK += "/meta-rcar-gen3-adas/recipes-devtools/valgrind/"
<<'EOF' >> $LOCALCONF # to re-generate AGL_PR the same way as aglsetup does, run: # echo "AGL_PR ?= \"$(date --utc '+%Y%m%d.%H%M%S')\"" EOF echo "AGL_PR ?= \"${AGL_PR}\"" >> $LOCALCONF; cat <<'EOF' >> $LOCALCONF PKGR = "${PR}${EXTENDPRAUTO}.${AGL_PR}" PKGV = "${@ '${PV}'.replace('AUTOINC','${AGL_PR}')}" BB_HASHBASE_WHITELIST_append = " PKGR PKGV" EOF ;; value:*) echo "AGL_PR ?= \"${RPMREVISION#value:}\"" >> $LOCALCONF; cat <<'EOF' >> $LOCALCONF PKGR = "${PR}${EXTENDPRAUTO}.${AGL_PR}" PKGV = "${@ '${PV}'.replace('AUTOINC','${AGL_PR}')}" BB_HASHBASE_WHITELIST_append = " PKGR PKGV" EOF ;; none) # do nothing ;; *) echo "ERROR ($THIS): unknown package revision method '$REVISION'" return 1 ;; esac cat <<'EOF' >> $LOCALCONF # # } # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # EOF } 01_setup_pkg_revision