Re: difficulties with KCONFIG_ALLCONFIG miniconfigs

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

 



On Mon, 2015-04-13 at 15:17 -0500, Jeff Weber wrote:
> $ cat ext4.cfg
> CONFIG_EXT4_FS=y
> 
> $ KCONFIG_ALLCONFIG=ext4.cfg  make allnoconfig
> 
> $ grep CONFIG_EXT4_FS .config || echo not found
> not found
> 
> Why was CONFIG_EXT4_FS not set?

A search of EXT4_FS in make menuconfig inspired me to add
    CONFIG_BLOCK=y

to ext4.cfg.

> Case 2: Attempt to disable SLUB_DEBUG using alldefconfig target.
> Search of Kconfigs shows no other configs select SLUB_DEBUG .
> 
> $ cat no-slub-debug.cfg
> CONFIG_SLUB_DEBUG=n
> 
> $ KCONFIG_ALLCONFIG=no-slub-debug.cfg make alldefconfig
> 
> $ grep SLUB_DEBUG .config
> CONFIG_SLUB_DEBUG=y
> # CONFIG_SLUB_DEBUG_ON is not set
> 
> Why was CONFIG_SLUB_DEBUG not disabled?

Seeing that the Kconfig entry for SLUB_DEBUG reads
    config SLUB_DEBUG
        default y
        bool "Enable SLUB debugging support" if EXPERT
        depends on SLUB && SYSFS
        help
          [...]

I guessed that this no-slub-debug.cfg might work:
    CONFIG_EXPERT=y
    # CONFIG_SLUB_DEBUG is not set

Please don't ask me to explain why.


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux