[Buildroot] [PATCH 1/1] uboot: fix custom patch dir legacy handling

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 20 22:00:14 UTC 2016


On Tue, 20 Dec 2016 22:45:49 +0100, Peter Korsgaard wrote:

>  > I noticed it now because we are upgrading from 2014.05 to 2016.11.  We
>  > use both the uboot custom patch dir feature (replaced) and the linux
>  > custom path feature (dropped, frowny face), so I'm hitting those right
>  > now.  
> Ok. The replacement for both is simply BR2_GLOBAL_PATCH_DIR (with linux
> patches under linux/ and u-boot patches under uboot/).

Not completely true: the "linux custom path" feature is not replaced by
BR2_GLOBAL_PATCH_DIR. If one wants to get the same functionality, i.e
telling Buildroot to use the Linux kernel source code from an available
local directory, then the only solution is to use LINUX_OVERRIDE_SRCDIR.

Best regards,

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering

More information about the buildroot mailing list