diff mbox series

[1/3] linux: make license option visible for _CUSTOM_VERSION as well

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

Commit Message

Peter Korsgaard Feb. 15, 2026, 10:53 a.m. UTC
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(-)

Comments

Julien Olivain Feb. 16, 2026, 7:49 p.m. UTC | #1
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.
Peter Korsgaard Feb. 16, 2026, 7:54 p.m. UTC | #2
>>>>> "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!
Thomas Perale Feb. 26, 2026, 8:47 p.m. UTC | #3
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 mbox series

Patch

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