mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Niklas Hambüchen" <mail@nh2.me>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Reasons for oldconfig resetting config options to =m
Date: Sun, 21 Apr 2019 17:11:10 +0200	[thread overview]
Message-ID: <9500a6a9-d63c-4572-7281-50e744c15679@nh2.me> (raw)

When you set an option to `=y` but one of its dependencies is set to `=m`, then `make oldconfig` will reset it back to `=m` as well.

That makes sense, but does there exist a feature somewhere that can tell me explicitly when this happens, ideally with a reason like:

    Resetting CONFIG_USB_STORAGE from =y to =m
        because its dependency CONFIG_... is set to =m
        Consequently also resetting the following dependent options from =y to =m:
            CONFIG_USB_STORAGE_REALTEK
            CONFIG_USB_...

This would help tuning kernel configs in situations where menuconfig is not appropriate, for example when working with diffs of configs.

Is there such tooling, or what do people use?

Thanks,
Niklas

             reply	other threads:[~2019-04-21 15:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-21 15:11 Niklas Hambüchen [this message]
2019-04-21 15:55 ` Randy Dunlap
2019-04-21 16:47   ` Niklas Hambüchen

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=9500a6a9-d63c-4572-7281-50e744c15679@nh2.me \
    --to=mail@nh2.me \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®