u-boot: Unconditionally add files/ to FILESEXTRAPATHS

This works around an issue where devtool doesn't find patches for
machines other than the current machine.

"devtool modify" tries to create git branches for each SRC_URI override
(i.e. sunxi, sun9i, mangopi-mq-t-t113). When doing this devtool modifies
the OVERRIDES for do_patch and filters out any other overrides used for
SRC_URI in the current recipe.

Since "sunxi" is used as an SRC_URI override it gets removed from
OVERRIDES when processing e.g. sun9i, leading to FILESEXTRAPATHS not
containing the patch directory for the recipe.

By unconditionally setting FILESEXTRAPATHS without an override specified
we work around this behavior and ensure all patches are always available
when applying patches to the different devtool-override-* branches.

Signed-off-by: Jonatan Pålsson <jonatan@jptk.se>
This commit is contained in:
Jonatan Pålsson
2025-10-22 14:27:30 +02:00
parent a69afa656d
commit 751495a8e8

View File

@@ -1,4 +1,4 @@
FILESEXTRAPATHS:prepend:sunxi := "${THISDIR}/files:"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
DEPENDS:append:sunxi = " bc-native dtc-native swig-native python3-native flex-native bison-native "
DEPENDS:append:sun50i = " trusted-firmware-a"