1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-28 03:18:21 +01:00
meta-rpi-diya/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bbappend
2021-12-17 20:30:04 +01:00

8 lines
316 B
Plaintext

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
}