With latest sources I get :
...
make mrproper ...
make rndconfig ...drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV'
make oldconfig ...
--
MfG/Sincerely
Toralf Förster
Hi Toralf,
On Wed, 21 Feb 2007, Toralf [iso-8859-1] F�rster wrote:
With latest sources I get :
...
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...
Roman, would it be hard to fix this? Thx!
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
From: Roman Zippel <hidden> Date: 2007-02-21 12:13:16
Hi,
On Wed, 21 Feb 2007, Geert Uytterhoeven wrote:
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.
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.
bye, Roman
-------------------------------------------------------------------------
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
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
From: Roman Zippel <hidden> Date: 2007-02-22 00:02:18
Hi,
On Wed, 21 Feb 2007, Geert Uytterhoeven wrote:
Why doesn't it obey dependencies?
It was initially created to any override dependencies.
quoted
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?
As I said most PS3 could be hidden behind a PS3_ADVANCED option and use
normal dependencies for the rest. Normal users don't care about all
the options and advanced users should know what they're doing.
bye, Roman
-------------------------------------------------------------------------
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
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?
As I said most PS3 could be hidden behind a PS3_ADVANCED option and use
normal dependencies for the rest. Normal users don't care about all
the options and advanced users should know what they're doing.
Ah, OK, now I see what you mean. Thanks!
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
It was initially created to any override dependencies.
quoted
quoted
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?
As I said most PS3 could be hidden behind a PS3_ADVANCED option and use
normal dependencies for the rest. Normal users don't care about all
the options and advanced users should know what they're doing.
Like this?
Subject: ps3: Introduce CONFIG_PS3_ADVANCED
From: Geert Uytterhoeven <redacted>
ps3: Introduce CONFIG_PS3_ADVANCED, as suggested by Roman Zippel, and use it to
control questions about PS3 subsystems that may not be obvious for the casual
user.
This gets rid of the following warning:
| drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV'
Signed-off-by: Geert Uytterhoeven <redacted>
Cc: Roman Zippel <redacted>
---
arch/powerpc/platforms/ps3/Kconfig | 29 ++++++++++++++++++++++-------
drivers/video/Kconfig | 3 +--
2 files changed, 23 insertions(+), 9 deletions(-)
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
except that this default is not really necessary.
bye, Roman
-------------------------------------------------------------------------
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
ps3: Introduce CONFIG_PS3_ADVANCED, as suggested by Roman Zippel, and use it to
control questions about PS3 subsystems that may not be obvious for the casual
user.
This gets rid of the following warning on non-powerpc platforms:
| drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV'
Signed-off-by: Geert Uytterhoeven <redacted>
Cc: Geoff Levand <redacted>
Cc: Paul Mackerras <redacted>
Cc: Roman Zippel <redacted>
---
arch/powerpc/platforms/ps3/Kconfig | 28 +++++++++++++++++++++-------
drivers/video/Kconfig | 3 +--
2 files changed, 22 insertions(+), 9 deletions(-)
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
ps3: Introduce CONFIG_PS3_ADVANCED, as suggested by Roman Zippel, and use it to
control questions about PS3 subsystems that may not be obvious for the casual
user.
This gets rid of the following warning on non-powerpc platforms:
| drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV'
Please apply, fixes build warning in 2.6.21-rc1.
Acked-by: Geoff Levand <redacted>
-------------------------------------------------------------------------
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