| Message ID | 20260215105358.2089856-1-peter@korsgaard.com |
|---|---|
| State | Accepted |
| Delegated to: | Julien Olivain |
| Headers | show |
| Series | [1/3] linux: make license option visible for _CUSTOM_VERSION as well | expand |
On 15/02/2026 11:53, Peter Korsgaard wrote: > Commit 50958bcdac ("linux: Add support for custom license files") added > a > default value for the license files and made the option visible (E.G. > editable) when a custom VCS or tarball version is used, but it is also > needed for users of an older _CUSTOM_VERSION (E.G. mainline release), > as > the referenced files were only added in Linux 4.16 with commit > e00a844aca > ("LICENSES: Add Linux syscall note exception"), so change that. > > Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Applied to master. For info, I added the missing BR2_LINUX_KERNEL_LICENSE_FILES in openblocks_a6_defconfig. Best regards, Julien.
>>>>> "Julien" == Julien Olivain <ju.o@free.fr> writes: Hi, > Applied to master. For info, I added the missing > BR2_LINUX_KERNEL_LICENSE_FILES in openblocks_a6_defconfig. Argh, seems like I forgot to save after editing. Thanks for fixing it!
In reply of: > Commit 50958bcdac ("linux: Add support for custom license files") added a > default value for the license files and made the option visible (E.G. > editable) when a custom VCS or tarball version is used, but it is also > needed for users of an older _CUSTOM_VERSION (E.G. mainline release), as > the referenced files were only added in Linux 4.16 with commit e00a844aca > ("LICENSES: Add Linux syscall note exception"), so change that. > > Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Applied to 2025.02.x & 2025.11.x. Thanks > --- > linux/Config.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/linux/Config.in b/linux/Config.in > index 9d96b346d5..c136084afd 100644 > --- a/linux/Config.in > +++ b/linux/Config.in > @@ -152,7 +152,7 @@ config BR2_LINUX_KERNEL_VERSION > > config BR2_LINUX_KERNEL_LICENSE_FILES > string "Kernel license files" if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || \ > - BR2_LINUX_KERNEL_CUSTOM_SVN || BR2_LINUX_KERNEL_CUSTOM_TARBALL > + BR2_LINUX_KERNEL_CUSTOM_SVN || BR2_LINUX_KERNEL_CUSTOM_VERSION || BR2_LINUX_KERNEL_CUSTOM_TARBALL > default "COPYING LICENSES/preferred/GPL-2.0 LICENSES/exceptions/Linux-syscall-note" > help > A space-separated list of license files related to the Linux > -- > 2.47.3 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
diff --git a/linux/Config.in b/linux/Config.in index 9d96b346d5..c136084afd 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -152,7 +152,7 @@ config BR2_LINUX_KERNEL_VERSION config BR2_LINUX_KERNEL_LICENSE_FILES string "Kernel license files" if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || \ - BR2_LINUX_KERNEL_CUSTOM_SVN || BR2_LINUX_KERNEL_CUSTOM_TARBALL + BR2_LINUX_KERNEL_CUSTOM_SVN || BR2_LINUX_KERNEL_CUSTOM_VERSION || BR2_LINUX_KERNEL_CUSTOM_TARBALL default "COPYING LICENSES/preferred/GPL-2.0 LICENSES/exceptions/Linux-syscall-note" help A space-separated list of license files related to the Linux
Commit 50958bcdac ("linux: Add support for custom license files") added a default value for the license files and made the option visible (E.G. editable) when a custom VCS or tarball version is used, but it is also needed for users of an older _CUSTOM_VERSION (E.G. mainline release), as the referenced files were only added in Linux 4.16 with commit e00a844aca ("LICENSES: Add Linux syscall note exception"), so change that. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- linux/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)