Re: [PATCH] fix EMBEDDED + SYSCTL menu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 28, 2006 at 08:42:51PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
> 
> SYSCTL should still depend on EMBEDDED.  This unbreaks the
> EMBEDDED menu (from the recent SYSCTL_SYCALL menu option patch).
> 
> Fix typos in new SYSCTL_SYSCALL menu.
> 
> Signed-off-by: Randy Dunlap <[email protected]>
> ---
>  init/Kconfig |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 
> --- linux-2618-g10.orig/init/Kconfig
> +++ linux-2618-g10/init/Kconfig
> @@ -257,6 +257,9 @@ config CC_OPTIMIZE_FOR_SIZE
>  
>  	  If unsure, say N.
>  
> +config SYSCTL
> +	bool
> +
>  menuconfig EMBEDDED
>  	bool "Configure standard kernel features (for small systems)"
>  	help
> @@ -272,11 +275,8 @@ config UID16
>  	help
>  	  This enables the legacy 16-bit UID syscall wrappers.
>  
> -config SYSCTL
> -	bool
> -

ACK

>  config SYSCTL_SYSCALL
> -	bool "Sysctl syscall support"
> +	bool "Sysctl syscall support" if EMBEDDED
>  	default n
>  	select SYSCTL
>  	---help---
>...

You could achieve the same by removing the option...

Simply move SYSCTL_SYSCALL to the same place you are moving SYSCTL to 
without fiddling with the dependencies.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux