Browse Source

package: work around kconfig crash issue with comments in choice entries

Peter Korsgaard 16 years ago
parent
commit
8acde59f79
1 changed files with 4 additions and 3 deletions
  1. 4 3
      package/Config.in

+ 4 - 3
package/Config.in

@@ -327,14 +327,15 @@ config BR2_PACKAGE_XSERVER_xorg
 	bool "modular xorg"
 	depends on BR2_USE_WCHAR # && BR2_ENABLE_LOCALE
 # depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
-comment "xorg requires a toolchain with LOCALE and WCHAR support"
-	depends on !(BR2_USE_WCHAR && BR2_ENABLE_LOCALE)
 config BR2_PACKAGE_XSERVER_tinyx
 	bool "tinyx"
 	depends on BR2_USE_WCHAR
+endchoice
+
+comment "xorg requires a toolchain with LOCALE and WCHAR support"
+	depends on !(BR2_USE_WCHAR && BR2_ENABLE_LOCALE)
 comment "tinyx requires a toolchain with WCHAR support"
 	depends on !BR2_USE_WCHAR
-endchoice
 
 config BR2_X11_PREFIX
 	string