linux: hide custom patches when using a local tree
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 7 Jan 2015 21:15:28 +0000 (16:15 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 7 Jan 2015 21:36:56 +0000 (22:36 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/Config.in

index bf30426e159b471634ab14912ec4fabb394f7454..13ae1acbeb75778b1ebcfc2a0fb83b9d4345065a 100644 (file)
@@ -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