mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-12-23 21:47:10 +01:00
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>