toolchain/gdb: target-gdb needs wchar support in toolchain
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 19 Apr 2010 09:05:30 +0000 (11:05 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 19 Apr 2010 09:05:30 +0000 (11:05 +0200)
For the embedded readline/gettext stuff.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gdb/Config.in

index 0e17ff673adcac8b0f08df75a5e471163becb360..e383949e5f5c266a0ebe20d1849d63cd52c4d027 100644 (file)
@@ -3,9 +3,13 @@ comment "Gdb Options"
 config BR2_PACKAGE_GDB
        bool "Build gdb debugger for the Target"
        select BR2_PACKAGE_NCURSES
+       depends on BR2_USE_WCHAR
        help
            Build the full gdb debugger to run on the target.
 
+comment "Gdb debugger for the target needs WCHAR support in toolchain"
+       depends on !BR2_USE_WHCAR
+
 config BR2_PACKAGE_GDB_SERVER
        bool "Build gdb server for the Target"
        help