aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-test/recipes-core/packagegroups/ti-test.bb
blob: a80b943b192e19498cc898cec33dc9a853257bbf (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
SUMMARY = "TI Testing packagegroup"
LICENSE = "MIT"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

TI_TEST_BASE = "\
    alsa-utils \
    bc \
    bonnie++ \
    bridge-utils \
    cryptodev-tests \
    devmem2 \
    dma-heap-tests \
    dosfstools \
    ethtool \
    evtest \
    fio \
    git \
    hdparm \
    i2c-tools \
    iozone3 \
    iproute2-tc \
    iproute2-devlink \
    iperf3 \
    kernel-modules \
    kernel-selftest \
    libdrm-tests \
    linuxptp \
    lmbench \
    lsof \
    media-ctl \
    memtester \
    mstpd \
    mtd-utils \
    mtd-utils-ubifs \
    mtd-utils-ubifs-tests \
    nbench-byte \
    netperf \
    openntpd \
    pcitest \
    perf \
    powertop \
    procps \
    pulseaudio-misc \
    rt-tests \
    rwmem \
    smcroute \
    stream \
    stress \
    stress-ng \
    tcpdump \
    v4l-utils \
    yavta \
"

TI_TEST_EXTRAS = " \
    piglit \
    python3-numpy \
    wayland-utils \
"

TI_TEST_BASE:append:armv7a = " \
    cpuburn-neon \
"

TI_TEST_BASE:append:armv7ve = " \
    cpuburn-neon \
"

#    timestamping
TI_TEST_TI_TOOLS = " \
    arm-benchmarks \
    arm-ddr-bandwidth \
    cpuloadgen \
    input-utils \
    ltp-ddt \
    openssl-perf \
    uvc-gadget \
"

TI_TEST_TI_TOOLS:append:ti33x = " \
    omapconf \
    pru-icss \
    switch-config \
"

TI_TEST_TI_TOOLS:append:ti43x = " \
    omapconf \
    pru-icss \
    switch-config \
"

NOT_MAINLINE_MMIP_DEPS = "${@bb.utils.contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)}"

TI_TEST_TI_TOOLS:append:omap-a15 = " \
    omapconf \
    pru-icss \
    switch-config \
    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', " \
        ti-ipc-test \
	    ${NOT_MAINLINE_MMIP_DEPS} \
    ", d)} \
"

TI_TEST_TI_TOOLS:append:k3 = " \
    k3conf \
    switch-config \
    ti-rtos-firmware \
    ti-rpmsg-char \
    ti-rpmsg-char-examples \
"

TI_TEST_TI_TOOLS:append:am62xx   = " \
    pru-icss \
"

TI_TEST_TI_TOOLS:append:am64xx   = " \
    pru-icss \
"

TI_TEST_TI_TOOLS:append:am65xx   = " \
    pru-icss \
"

# Disable due to breakage
#    viddec-test-app 
TI_TEST_TI_TOOLS:append:j721e = " \
    pru-icss \
    ufs-utils \
    videnc-test-app \
"

TI_TEST_TI_TOOLS:append:j784s4 = " \
    ufs-utils \
"

TI_TEST_TI_TOOLS:append:omapl138 = " \
    ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '', 'ti-ipc-test', d)} \
"

RDEPENDS:${PN} = "\
    ${TI_TEST_BASE} \
    ${TI_TEST_TI_TOOLS} \
"

# Package group for things that should only be present in tisdk-default-image
PACKAGES += " ${PN}-extras"
RDEPENDS:${PN}-extras = "\
    ${TI_TEST_EXTRAS} \
"