diff --git a/recipes-bsp/opensbi/opensbi_%.bbappend b/recipes-bsp/opensbi/opensbi_%.bbappend new file mode 100644 index 0000000..b700fac --- /dev/null +++ b/recipes-bsp/opensbi/opensbi_%.bbappend @@ -0,0 +1,10 @@ +# Mainline OpenSBI supports the C906 out of the box, but it needs a few tweaks +# and a new reset driver for the sunxi watchdog. +FILESEXTRAPATHS:prepend:nezha := "${THISDIR}/files:" + +SRC_URI:append:nezha = " \ + file://0001-lib-utils-fdt-Require-match-data-to-be-const.patch \ + file://0002-lib-utils-timer-Add-a-separate-compatible-for-the-D1.patch \ +" + +INSANE_SKIP:${PN}:nezha += "ldflags"