[Buildroot] [PATCH v3] linux: hide custom patches when using a local tree

Vivien Didelot vivien.didelot at savoirfairelinux.com
Wed Jan 7 21:15:28 UTC 2015


When using a custom local tree, we're using the OVERRIDE_SRCDIR
internally, which means we do not apply patches. Since this is the
expected behavior, make BR2_LINUX_KERNEL_PATCH and
BR2_LINUX_KERNEL_CUSTOM_LOCAL options exclusive.

Signed-off-by: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
---
 linux/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/linux/Config.in b/linux/Config.in
index bf30426..13ae1ac 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -119,6 +119,7 @@ config BR2_LINUX_KERNEL_VERSION
 
 config BR2_LINUX_KERNEL_PATCH
 	string "Custom kernel patches"
+	depends on !BR2_LINUX_KERNEL_CUSTOM_LOCAL
 	help
 	  A space-separated list of patches to apply to the
 	  kernel. Each patch can be described as an URL, a local file
-- 
2.2.1



More information about the buildroot mailing list