mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Cheng Renquan <crq@kernel.org>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-kbuild@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/6] add symbol value to help find the real depend
Date: Sun, 12 Jul 2009 17:14:23 +0000	[thread overview]
Message-ID: <91b13c310907121014r4ab3d37p9477030bb0e3b7d2@mail.gmail.com> (raw)
In-Reply-To: <19033.46146.685018.240686@pilspetsen.it.uu.se>

On Sun, Jul 12, 2009 at 10:00 AM, Mikael Pettersson<mikpe@it.uu.se> wrote:
[...]
> I like this concept, but I'd like to see it supported with make oldconfig.

'make oldconfig' uses the same 'scripts/kconfig/conf' program as the
'make config' does, which is supported already in this series of
patches,

> Let's say I copy a .config from kernel X into kernel Y (Y>X) and make oldconfig.
> Sometimes the new kernel will enable some previously disabled option, and
> it would be very useful to see WHY.
>
> To take a concrete example, in my 2.6.30 .config I had:
>
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
> # CONFIG_FB is not set
>
> which when oldconfig'd in 2.6.31-rc changed to
>
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
> CONFIG_FB=m
> (+ some more FB stuff)
>
> In this case it would have been nice to get an explanation that DRM_RADEON
> was responsible for (wrongly, IMO) selecting FB. Something like
>
> # CONFIG_FB was selected by CONFIG_DRM_RADEON
> CONFIG_FB=m
>
> These comments should only be emitted for options added by select that
> previously were absent or 'is not set'.

The conf system is not so smart to find the recent changes (you may
try scripts/diffconfig to diff two .config),

Anyway, if you don't like CONFIG_FB and have no idea why it is
selected, you can navigate to CONFIG_FB in
menuconfig/gconfig/xconfig/config, and find out the real dependency
reason from its help message,

>
> /Mikael
>

--
Cheng Renquan (程任全), from Shenzhen, China

  reply	other threads:[~2009-07-12 17:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12  8:11 [PATCH 0/6] kbuild configuration system improvements Cheng Renquan
2009-07-12  8:11 ` [PATCH 1/6] add symbol value to help find the real depend Cheng Renquan
2009-07-12  8:11   ` [PATCH 2/6] add menu_get_ext_help function to display more information Cheng Renquan
2009-07-12  8:11     ` [PATCH 3/6] menuconfig improvements Cheng Renquan
2009-07-12  8:11       ` [PATCH 4/6] make use of menu_get_ext_help in gconfig Cheng Renquan
2009-07-12  8:11         ` [PATCH 5/6] make use of menu_get_ext_help in qconfig Cheng Renquan
2009-07-12  8:11           ` [PATCH 6/6] make use of menu_get_ext_help in "make config" Cheng Renquan
2009-07-12 10:00   ` [PATCH 1/6] add symbol value to help find the real depend Mikael Pettersson
2009-07-12 17:14     ` Cheng Renquan [this message]
2009-07-18  7:21 ` [PATCH 0/6] kbuild configuration system improvements Sam Ravnborg
2009-07-18 10:47   ` Cheng Renquan
2009-07-22 20:43   ` Randy Dunlap
2009-07-22 21:48     ` Sam Ravnborg
2009-07-23  0:12       ` Randy Dunlap

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=91b13c310907121014r4ab3d37p9477030bb0e3b7d2@mail.gmail.com \
    --to=crq@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=crquan@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@it.uu.se \
    --cc=sam@ravnborg.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®