All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] linux: make custom versions and patches exclusive
@ 2015-01-06 22:25 Vivien Didelot
  2015-01-06 23:32 ` Yann E. MORIN
  2015-01-07  1:43 ` Danomi Manchego
  0 siblings, 2 replies; 7+ messages in thread
From: Vivien Didelot @ 2015-01-06 22:25 UTC (permalink / raw)
  To: buildroot

When using a custom kernel (custom tarball, repository or local tree),
we're using the OVERRIDE_SRCDIR internally, which means we do not apply
patches. Since this is the expected behavior, show the
LINUX_KERNEL_PATCH option only when using a vanilla kernel.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
---
 linux/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/linux/Config.in b/linux/Config.in
index bf30426..9989b40 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -119,6 +119,9 @@ config BR2_LINUX_KERNEL_VERSION
 
 config BR2_LINUX_KERNEL_PATCH
 	string "Custom kernel patches"
+	depends on BR2_LINUX_KERNEL_LATEST_VERSION || \
+		  BR2_LINUX_KERNEL_SAME_AS_HEADERS || \
+		  BR2_LINUX_KERNEL_CUSTOM_VERSION
 	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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-07 22:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 22:25 [Buildroot] [PATCH v2] linux: make custom versions and patches exclusive Vivien Didelot
2015-01-06 23:32 ` Yann E. MORIN
2015-01-07  1:43 ` Danomi Manchego
2015-01-07 18:35   ` Yann E. MORIN
2015-01-07 18:53     ` Danomi Manchego
2015-01-07 22:51       ` Ryan Barnett
2015-01-07 22:55         ` Ryan Barnett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.