m68k: allow PM menu options for COMPILE_TEST
PATCH 1/1 m68k: allow PM menu options for COMPILE_TEST
Allow PM options for COMPILE_TEST. This quietens a kconfig warning.
This is similar to a patch for Sparc32 that was suggested by Arnd.
WARNING: unmet direct dependencies detected for PM
Depends on [n]: !MMU [=y]
Selected by [y]:
- SUN20I_PPU [=y] && (ARCH_SUNXI || COMPILE_TEST [=y])
--- arch/m68k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/Kconfig +1 -1
@@ -126,7 +126,7 @@ menu "Kernel Features" endmenu -if !MMU +if !MMU || COMPILE_TEST menu "Power management options" config PM
Geert Uytterhoeven
maintainerHi Randy,
Quoted 6 lines · Randy Dunlap
Allow PM options for
COMPILE_TEST. This quietens a kconfig warning.This is similar to a patch for Sparc32 that was suggested by Arnd.
Quoted 6 lines
WARNING: unmet direct dependencies detected for PM
Depends on [n]: !MMU [=y]
Selected by [y]:
-SUN20I_PPU[=y] && (ARCH_SUNXI||COMPILE_TEST[=y])Signed-off-by Randy Dunlap <[email protected]>
Thanks for your patch!
arch/m68k/Kconfig menu "Kernel Features" · line 130
Quoted 9 lines
arch/m68k/Kconfig +1
-1@@ -126,7 +126,7 @@ menu "Kernel Features" endmenu -if !MMU +if !MMU || COMPILE_TEST menu "Power management options"
I think this is the wrong solution.
All other selects of PM are done by architecture/platform-gating symbols, and none of them can be enabled for compile-testing.
So either SUN20I_PPU should depend on PM, or ARCH_SUNXI should select PM.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi Geert,
Quoted 22 lines · Geert Uytterhoeven
Hi Randy,
Quoted 6 lines · Randy Dunlap
Allow PM options for
COMPILE_TEST. This quietens a kconfig warning.This is similar to a patch for Sparc32 that was suggested by Arnd.
Quoted 6 lines
WARNING: unmet direct dependencies detected for PM
Depends on [n]: !MMU [=y]
Selected by [y]:
-SUN20I_PPU[=y] && (ARCH_SUNXI||COMPILE_TEST[=y])Signed-off-by Randy Dunlap <[email protected]>Thanks for your patch!
Quoted 4 lines
arch/m68k/Kconfig +0
-0@@ -126,7 +126,7 @@ menu "Kernel Features"
Quoted 8 lines
arch/m68k/Kconfig menu "Kernel Features" · line 130
Quoted 5 lines
arch/m68k/Kconfig +1
-1endmenu -if !MMU +if !MMU || COMPILE_TEST menu "Power management options"I think this is the wrong solution.
All other selects of PM are done by architecture/platform-gating
Yes, which is where they should be.
Quoted 4 lines
symbols, and none of them can be enabled for compile-testing.
So either
SUN20I_PPUshould depend on PM, orARCH_SUNXIshould select PM.
I'll do the first choice since I shouldn't be the one to make a platform config change without knowing about the platform.
Thank you.
Signature · 1 line
~Randy