mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
0a3f86f21a
It is strongly discouraged to use wildcards in SRC_URI since it breaks when using multiple bbappends and immediate expansion of FILESDIR. This fixes a do_install failure when building with multiple BSPs enabled. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
17 lines
590 B
Plaintext
17 lines
590 B
Plaintext
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
|
|
# Don't forget to bump PRINC if you update the extra files.
|
|
PRINC := "${@int(PRINC) + 5}"
|
|
|
|
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
|
FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
|
|
|
|
SRC_URI_append_raspberrypi = " file://xorg.conf.d/10-evdev.conf "
|
|
|
|
do_install_append_raspberrypi () {
|
|
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
|
|
install -m 0644 ${WORKDIR}/xorg.conf.d/* ${D}/${sysconfdir}/X11/xorg.conf.d/
|
|
}
|
|
|
|
FILES_${PN}_raspberrypi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
|