config/kernel/linux.in
changeset 1221 814d458b1878
parent 1210 dfabaadc7524
child 1222 c7558c696cc4
     1.1 --- a/config/kernel/linux.in	Fri Feb 13 07:22:56 2009 +0000
     1.2 +++ b/config/kernel/linux.in	Tue Mar 03 18:43:38 2009 +0000
     1.3 @@ -286,20 +286,37 @@
     1.4  
     1.5  config KERNEL_LINUX_USE_CUSTOM_DIR
     1.6      bool
     1.7 -    prompt "Use custom directory"
     1.8 +    prompt "Use custom headers"
     1.9      help
    1.10        If you have some kernel headers lying around, you can enter the path
    1.11        below.
    1.12  
    1.13 -config KERNEL_LINUX_CUSTOM_DIR
    1.14 +if KERNEL_LINUX_USE_CUSTOM_DIR
    1.15 +
    1.16 +config KERNEL_LINUX_CUSTOM_IS_TARBALL
    1.17 +    bool
    1.18 +    prompt "This is a tarball"
    1.19 +    default n
    1.20 +    help
    1.21 +      If you say 'n' here, the path below is expected to point to a directory
    1.22 +      containing readily prepared headers
    1.23 +      
    1.24 +      If you say 'y' here, then the path below is expected to point to a
    1.25 +      tarball of such a directory.
    1.26 +      
    1.27 +      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
    1.28 +      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
    1.29 +      
    1.30 +      Now, passing a tarball around is easier than passing a directory, so
    1.31 +      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
    1.32 +      say 'y' here, and enter the path to this tarball below.
    1.33 +
    1.34 +config KERNEL_LINUX_CUSTOM_PATH
    1.35      string
    1.36 -    prompt "Where are those custom headers?"
    1.37 -    depends on KERNEL_LINUX_USE_CUSTOM_DIR
    1.38 +    prompt "Path to custom headers directory/tarball"
    1.39      help
    1.40 -      Enter the base directory where the headers are to be found.
    1.41 -      
    1.42 -      Eg. if the headers are in /some/place/include, then enter /some/place.
    1.43 -          This is the same path you entered when you typed:
    1.44 -            make INSTALL_HDR_PATH=/some/place headers_install
    1.45 +      See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
    1.46 +
    1.47 +endif # KERNEL_LINUX_USE_CUSTOM_DIR
    1.48  
    1.49  endchoice