public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: Filip Honckiewicz <f.honckiewicz@gmail.com>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: Minimal kernel config generator based on Kconfig language
Date: Wed, 09 Mar 2011 22:56:19 +0100	[thread overview]
Message-ID: <4D77F783.60902@suse.cz> (raw)
In-Reply-To: <AANLkTinBrt-fr_e61thAqLO-MN90BA6a28Lain8u__sR@mail.gmail.com>

On 1.3.2011 01:49, Filip Honckiewicz wrote:
> Hi!
> 
> I am working on automatic kernel configurator (which is part of my
> thesis) written in python, that will provide config as minimal as
> possible. First stage of the project is to take loaded module names of
> running kernel and add theirs config options to some created
> previously config file (I use for testing make allnoconfig).

How does it compare to the perl-based make localmodconfig?


> My questions:
> 1. How dependencies impacts on possible values of config? Can I set
> “m” value for config option if dependency expression returns “y” or
> can I set “y” if dependency expression returns “m”?

"depends on m" sets the upper limit to m (and y is > m).


> 2. How config value impacts on value of selects? For example can I set
> “y” for selects if config option has “m” value?

No.


> What will change if we
> add “if” clause in select?

The select will only apply if the if expression evaluates to non-zero.


> 3. Use case: I use make allnoconfig to generate initial config and my
> “tool” to enable DRM_CONFIG what results enabling also some
> dependencies and select options too what looks ok when I analyze it
> using pen and sheet of paper. So why, when I use make allnoconfig and
> then enable proper option using make menuconfig it also enables dozen
> of another? Where is the connection?

Hard to tell with such vague problem description. What differences do
you see and why you think your tool is right and menuconfig is wrong at
selecting some options?

Michal

      parent reply	other threads:[~2011-03-09 21:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01  0:49 Minimal kernel config generator based on Kconfig language Filip Honckiewicz
2011-03-02  9:28 ` Christian Dietrich
2011-03-07 23:36   ` Filip Honckiewicz
2011-03-09 21:56 ` Michal Marek [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=4D77F783.60902@suse.cz \
    --to=mmarek@suse.cz \
    --cc=f.honckiewicz@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