All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Arnaud Lacombe <lacombar@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>,
	linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: Re: [RFC] kconfig: simplify select-with-unmet-direct-dependency warning
Date: Mon, 27 Sep 2010 11:57:03 +0100	[thread overview]
Message-ID: <1285585023.31188.7.camel@e102109-lin.cambridge.arm.com> (raw)
In-Reply-To: <1285532648-28943-1-git-send-email-lacombar@gmail.com>

On Sun, 2010-09-26 at 21:24 +0100, Arnaud Lacombe wrote:
> This is an attempt to simplify the expressing printed by kconfig when a
> symbol is selected but still has direct unmet dependency.

I haven't analysed the patch but I gave it a try and the result is a bit
weird.

I tried an ARMv7 platform which has CPU_V7 enabled. This selects
CPU_32v6K. The simplified entries:

config CPU_V7
	bool "Support ARM V7 processor"
	select CPU_32v6K

I changed CPU_32v6K to not depend on CPU_V7:

config CPU_32v6K
	bool "Support ARM V6K processor extensions"
	depends on CPU_V6

There is another option which isn't set in my config, however it gets
reported:

config CPU_MMP2
	bool
	select CPU_V6
	select CPU_32v6K

And the error kbuild reports with this patch is:

warning: (CPU_V7 && CPU_MMP2) selects CPU_32v6K which has unmet direct
dependencies (CPU_V6)

The weird thing is the inclusion of CPU_MMP2 above. First of all, it
isn't set in my .config. Secondly, it selects CPU_V6 so CPU_32v6K would
have met its dependency.

-- 
Catalin


      reply	other threads:[~2010-09-27 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-26 20:24 [RFC] kconfig: simplify select-with-unmet-direct-dependency warning Arnaud Lacombe
2010-09-27 10:57 ` Catalin Marinas [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=1285585023.31188.7.camel@e102109-lin.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=lacombar@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=mmarek@suse.cz \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.