config/kernel/linux.in
changeset 2602 242695a00db5
parent 2596 efe5f40c84c1
child 2603 461b9c476104
     1.1 --- a/config/kernel/linux.in	Mon Aug 08 21:21:38 2011 +0200
     1.2 +++ b/config/kernel/linux.in	Sun Aug 14 16:05:33 2011 +0200
     1.3 @@ -4,20 +4,10 @@
     1.4  ##
     1.5  ## help Build a toolchain targeting systems running Linux as a kernel.
     1.6  
     1.7 -choice
     1.8 -    bool
     1.9 -    prompt "Get kernel headers from:"
    1.10 -
    1.11 -config KERNEL_LINUX_INSTALL
    1.12 -    bool
    1.13 -    prompt "kernel's 'headers_install'"
    1.14 -    help
    1.15 -      This will make use of the new headers_install rule in recent kernels.
    1.16 -      This is most probably what you want to use.
    1.17 -
    1.18  config KERNEL_LINUX_USE_CUSTOM_HEADERS
    1.19      bool
    1.20 -    prompt "pre-installed headers tree"
    1.21 +    prompt "Use pre-installed headers tree (OBSOLETE)"
    1.22 +    depends on OBSOLETE
    1.23      help
    1.24        If you have some pre-installed kernel headers lying around, you can
    1.25        enter the path to these headers, below, they will be copied from
    1.26 @@ -25,10 +15,12 @@
    1.27        
    1.28        Note:
    1.29        This will *not* let you use a complete kernel tree!
    1.30 -      If you want to use your own full kernel tree, then you want to
    1.31 -      say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
    1.32 +      If you want to use your own full kernel tree, then you want to say 'N'
    1.33 +      here, and select KERNEL_LINUX_CUSTOM, in the versions list, below.
    1.34  
    1.35 -endchoice
    1.36 +config KERNEL_LINUX_INSTALL
    1.37 +    bool
    1.38 +    default y if ! KERNEL_LINUX_USE_CUSTOM_HEADERS
    1.39  
    1.40  if KERNEL_LINUX_INSTALL
    1.41