1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-20 11:58:21 +01:00
meta-rpi-diya/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend

8 lines
316 B
Plaintext
Raw Normal View History

2021-12-17 20:30:04 +01:00
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
BOOT_SRC_FILE = "${@bb.utils.contains('ENABLE_USB_U_BOOT', '1', 'usb-boot.cmd.in', 'boot.cmd.in', d)}"
SRC_URI = "file://${BOOT_SRC_FILE}"
do_configure() {
([ -e "${WORKDIR}/usb-boot.cmd.in" ] && mv "${WORKDIR}/usb-boot.cmd.in" "${WORKDIR}/boot.cmd.in") || true
}