Re: linux 2.6.21-rc1 : FB Kconfig error
flat view
From: Geert Uytterhoeven <hidden>
Date: 2007-02-21 12:28:24
On Wed, 21 Feb 2007, Roman Zippel wrote:
On Wed, 21 Feb 2007, Geert Uytterhoeven wrote:quoted
quoted
make mrproper ... make rndconfig ...drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV' make oldconfig ...This looks actually like a bug in kconf, since it doesn't obey the `depends on PPC_PS3' one line above...It has little to do with the dependencies, as select doesn't really care about them.
Well, that's the problem :-) Why doesn't it obey dependencies? On one side we want to put drivers of a specific type under driver/*, on the other side we want to put architecture-specific things under arch/*. But as soon as you want to select an architecture-specific thing, this breaks (well, generates warnings).
In this case it looks like someone went a little overboard with the select usage. It looks like most of the PS3 options could be hidden behind an advanced option, then you can also use normal dependencies.
We wanted to have PS3FB and PS3SND (not yet submitted) to select PS3AV, so it
gets enabled automatically. Else we need dependencies on things the user
shouldn't really need to care about.
What other solution do you propose?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV