Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3] linux: hide custom patches when using a local tree
@ 2015-01-07 21:15 Vivien Didelot
  2015-01-07 21:30 ` Yann E. MORIN
  2015-01-07 21:37 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Vivien Didelot @ 2015-01-07 21:15 UTC (permalink / raw)
  To: buildroot

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@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

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

* [Buildroot] [PATCH v3] linux: hide custom patches when using a local tree
  2015-01-07 21:15 [Buildroot] [PATCH v3] linux: hide custom patches when using a local tree Vivien Didelot
@ 2015-01-07 21:30 ` Yann E. MORIN
  2015-01-07 21:37 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2015-01-07 21:30 UTC (permalink / raw)
  To: buildroot

Vivien, All,

On 2015-01-07 16:15 -0500, Vivien Didelot spake thusly:
> 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@savoirfairelinux.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  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
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH v3] linux: hide custom patches when using a local tree
  2015-01-07 21:15 [Buildroot] [PATCH v3] linux: hide custom patches when using a local tree Vivien Didelot
  2015-01-07 21:30 ` Yann E. MORIN
@ 2015-01-07 21:37 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-01-07 21:37 UTC (permalink / raw)
  To: buildroot

Dear Vivien Didelot,

On Wed,  7 Jan 2015 16:15:28 -0500, Vivien Didelot wrote:
> 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@savoirfairelinux.com>
> ---
>  linux/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 21:15 [Buildroot] [PATCH v3] linux: hide custom patches when using a local tree Vivien Didelot
2015-01-07 21:30 ` Yann E. MORIN
2015-01-07 21:37 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox