From: Paul Bolle <pebolle@tiscali.nl>
To: Jeff Weber <jwamsc@gmail.com>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: difficulties with KCONFIG_ALLCONFIG miniconfigs
Date: Mon, 13 Apr 2015 22:54:59 +0200 [thread overview]
Message-ID: <1428958499.3868.31.camel@x220> (raw)
In-Reply-To: <CAL3kL1vV-aYF+Hokm+nbivS689cTvO=JmUbpGeSKe19CdH=VPw@mail.gmail.com>
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
prev parent reply other threads:[~2015-04-13 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-13 20:17 difficulties with KCONFIG_ALLCONFIG miniconfigs Jeff Weber
2015-04-13 20:54 ` Paul Bolle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1428958499.3868.31.camel@x220 \
--to=pebolle@tiscali.nl \
--cc=jwamsc@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).