3V3RYONE Posted March 5 Share Posted March 5 Hi, I am working on a PR[0] to the Armbian build framework. As suggested in the PR, I am trying to use the upstream U-Boot source and apply the required patches[1][2] on top of it. One of the patch series[2] requires a git subtree[3] to be added to the U-Boot source before applying the patch itself. However, it seems that Armbian's build framework first attempts to apply the required patches[4] on the U-Boot source and then calls the pre_config_uboot_target hook[5]. Currently, I've put the code to add the git subtree in the pre_config_uboot_target hook. As a result, the required patch series are not getting applied. Is there any way in which we can configure the U-Boot source first before applying the patches to it? [0]-https://github.com/armbian/build/pull/6275 [1]-https://lore.kernel.org/u-boot/20240223202153.3756094-1-a-nandan@ti.com [2]-https://lore.kernel.org/all/20240222093607.3085545-1-sumit.garg@linaro.org [3]-git subtree add --prefix dts/upstream https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git v6.7-dts --squash [4]-https://github.com/armbian/build/blob/1e6fdcb13b4d626fbd8a1d65c3329810a803e3b1/lib/functions/compilation/uboot.sh#L48 [5]-https://github.com/armbian/build/blob/1e6fdcb13b4d626fbd8a1d65c3329810a803e3b1/lib/functions/compilation/uboot.sh#L68 Any help would be much appreciated. Thanks, 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.