blob: 05a45eb38c3b239e54c4a81227323cea88ab0437 (
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
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
PR:append:am62xx = ".arago12"
PACKAGECONFIG:append:am62xx:tdx = " \
no-idle-timeout \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland','', d)} \
"
PACKAGECONFIG[xwayland] = ",,"
SRC_URI:append:am62xx = " \
file://runWeston \
file://wayland_env.sh \
file://weston.ini \
"
do_install:append:am62xx () {
install -d ${D}${bindir}
install -m 755 ${WORKDIR}/runWeston ${D}${bindir}
install -d ${D}${sysconfdir}/profile.d
install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/wayland_env.sh ${D}${sysconfdir}/profile.d/
if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then
sed -i -e "/^\[core\]/a xwayland=true" ${D}${sysconfdir}/xdg/weston/weston.ini
fi
}
FILES:${PN}:append:am62xx = "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini"
|