1. 26 7月, 2012 1 次提交
  2. 05 7月, 2012 2 次提交
  3. 30 8月, 2011 1 次提交
  4. 20 9月, 2010 1 次提交
    • J
      kconfig: fix menuconfig on debian lenny · 8c41e5e3
      Junio C Hamano 提交于
      In 60f33b80 (kconfig: get rid of stray a.o, support ncursesw, 2006-01-15),
      support to link menuconfig with ncursesw library was added.  To compute
      the linker command option -l, we check "libncursesw.{so,a,dylib}" to allow
      ncursesw to be used as a replacement ncurses.  However, when checking what
      header file to include, we do not check /usr/include/ncursesw directory.
      
      Add /usr/include/ncursesw to the list of directories that are checked.
      With this patch, on my Debian Lenny box with libncursesw5-dev package but
      not libncurses5-dev package, I can say "make menuconfig".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      8c41e5e3
  5. 03 6月, 2010 2 次提交
  6. 14 4月, 2010 2 次提交
    • L
      menuconfig: add support to show hidden options which have prompts · 22c7eca6
      Li Zefan 提交于
      Usage:
        Press <Z> to show all config symbols which have prompts.
      
      Quote Tim Bird:
      
      | I've been bitten by this numerous times.  I most often
      | use ftrace on ARM, but when I go back to x86, I almost
      | always go through a sequence of searching for the
      | function graph tracer in the menus, then realizing it's
      | completely missing until I disable CC_OPTIMIZE_FOR_SIZE.
      |
      | Is there any way to have the menu item appear, but be
      | unsettable unless the SIZE option is disabled?  I'm
      | not a Kconfig guru...
      
      I myself found this useful too. For example, I need to test
      ftrace/tracing and want to be sure all the tracing features are
      enabled, so I  enter the "Tracers" menu, and press <Z> to
      see if there is any config hidden.
      
      I also noticed gconfig and xconfig have a button "Show all options",
      but that's a bit too much, and I think normally what we are not
      interested in those configs which have no prompt thus can't be
      changed by users.
      
      Exmaple:
      
            --- Tracers
            -*-   Kernel Function Tracer
            - -     Kernel Function Graph Tracer
            [*]   Interrupts-off Latency Tracer
            - -   Preemption-off Latency Tracer
            [*]   Sysprof Tracer
      
      Here you can see 2 tracers are not selectable, and then can find
      out how to make them selectable.
      Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      22c7eca6
    • L
      kconfig: some small fixes · 4280eae0
      Li Zefan 提交于
      - fix a typo in documentation
      - fix a typo in a printk on error
      - fix comments in dialog_inputbox()
      Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      4280eae0
  7. 18 7月, 2009 1 次提交
  8. 10 6月, 2009 1 次提交
  9. 04 12月, 2008 1 次提交
  10. 02 5月, 2008 1 次提交
  11. 29 4月, 2008 1 次提交
  12. 29 1月, 2008 3 次提交
    • E
      kconfig: gettext support for lxdialog · 75c0a8a5
      EGRY Gabor 提交于
      Gettext support for lxdialog.
      Signed-off-by: NEgry Gabor <gaboregry1@t-online.hu>
      Reviewed-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      75c0a8a5
    • L
      kconfig: make kconfig MinGW friendly · 09af091f
      Ladislav Michl 提交于
      Kconfig is powerfull tool. So powerfull that more and more software
      projects are using it for configuration. So instead of fixing some of
      them one by one, lets fix it in kernel and wait for sync.
      
      This work was originaly done for PTXdist - GPL licensed build system for
      userlands and cross-compilers, but it will not hurt kernel kconfig
      either. PTXdist menuconfig now works on Windows linked with PDCurses and
      compiled using MinGW - there is no termios and signals.
      
      * Do not include <sys/wait.h> and <signal.h> (comes from times when
        lxdialog was separate process)
      * Do not mess with termios directly and let curses tell screen size.
        Comment to commit c8dc68ad says
        check for screen size could be removed later, but because it didn't
        happen for more than year I left it here as well.
      * Save cursor position added by Sam
      Signed-off-by: NLadislav Michl <ladis@linux-mips.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      09af091f
    • S
      kconfig: if ncurses-devel is missing then say so · 6e588f6d
      Sam Ravnborg 提交于
      With this patch when ncurses-devel (or whatever it is named)
      is missing trying to run menuconfig will result in this:
      
      $ make menuconfig
        HOSTCC  scripts/kconfig/conf.o
        HOSTCC  scripts/kconfig/kxgettext.o
       *** Unable to find the ncurses libraries or the
       *** required header files.
       *** 'make menuconfig' requires the ncurses libraries.
       ***
       *** Install ncurses (ncurses-devel) and try again.
       ***
      make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
      make: *** [menuconfig] Error 2
      
      Much better than before where we just listed some build errors.
      The other *config targets will work indepenednt on ncurses
      being present or not.
      
      Includes improvements suggested by: Frans Pop <elendil@planet.nl>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Frans Pop <elendil@planet.nl>
      6e588f6d
  13. 17 7月, 2007 1 次提交
  14. 19 5月, 2007 1 次提交
  15. 03 5月, 2007 2 次提交
  16. 26 11月, 2006 1 次提交
  17. 12 10月, 2006 1 次提交
    • L
      [PATCH] Fix menuconfig build failure due to missing stdbool.h · 1db11ea6
      Luca Tettamanti 提交于
      scripts/kconfig/lxdialog/util.c fails to build because it uses
      true/false without including stdbool.h:
      
      kronos:~/src/linux-2.6$ make O=../linux-build-git menuconfig
        GEN     /home/kronos/src/linux-build/Makefile
        HOSTCC  scripts/kconfig/lxdialog/util.o
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_classic_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: 'true' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: (Each undeclared identifier is reported only once
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: for each function it appears in.)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:70: error: 'false' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_blackbg_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:101: error: 'true' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:102: error: 'false' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_bluetitle_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:144: error: 'true' undeclared (first use in this function)
      make[2]: *** [scripts/kconfig/lxdialog/util.o] Error 1
      make[1]: *** [menuconfig] Error 2
      make: *** [menuconfig] Error 2
      
      Add <stdbool.h> to dialog.h to fix the breakage.
      Signed-off-by: NLuca Tettamanti <kronos.it@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1db11ea6
  18. 30 9月, 2006 7 次提交
    • S
      kconfig/lxdialog: clear long menu lines · 737ecae2
      Sam Ravnborg 提交于
      Menulines that were wider than the available
      line width is now properly null terminated.
      
      While at it renamed the variable choice => line_y
      so it better reflect the usage in do_print_item().
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      737ecae2
    • S
      kconfig/lxdialog: support resize · c8dc68ad
      Sam Ravnborg 提交于
      In all dialogs now properly catch KEY_RESIZE and take proper action.
      In mconf try to behave sensibly when a dialog routine returns
      -ERRDISPLAYTOOSMALL.
      
      The original check for a screnn size of 80x19 is kept for now.
      It may make sense to remove it later, but thats anyway what
      much text is adjusted for.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      c8dc68ad
    • S
      kconfig/lxdialog: let <ESC><ESC> behave as expected · f3cbcdc9
      Sam Ravnborg 提交于
      <ESC><ESC> is used to step one back in the dialogs.
      When lxdialog became built-in pressing <ESC> once would cause one step back
      and pressing <ESC><ESC> would cause two steps back.
      This patch - based on concept from Roman Zippel <zippel@linux-m68k.org> -
      makes one <ESC> a noop and pressing <ESC><ESC> will cause one step backward.
      
      In addition the final yes/no dialog now has the option to go back to the
      the kernel configuration. So if you get too far out you can now go back
      to configuring the kernel without saving and starting all over again.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f3cbcdc9
    • S
      kconfig/menuconfig: lxdialog is now built-in · 2982de69
      Sam Ravnborg 提交于
      lxdialog was previously called as an external program causing screen
      to flicker when used. With this patch lxdialog is now built-in.
      It is loosly based om previous work by:  Petr Baudis <pasky@ucw.cz>
      
      Following is a list of changes:
      o Moved build of dialog routings to kconfig Makefile
      o menubox + checklist uses a new item list to hold all menu items
      o in util.c implmented helper function to deal with item list
      o menubox now uses parameters to save scroll state (avoids temp file)
      o textbox now get text to be displayed as parameter and not a file
      o make sure to properly delete subwin's before main windows
      o killed unused files: lxdialog.c msgbox.c
      o modified return value for ESC to match direct calling
      o in a few places the code has been adjusted to 80 char wide
      o in textbox a small refactoring was made to make code remotely readable
      o in mconf removed all unused stuff (functions/variables)
      
      Following is a list of know short comings:
      a) pressing ESC twice will be interpreted as two ESC presses
      b) resize does not work. menuconfig needs to be restarted to be adjusted
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      2982de69
    • S
      kconfig/lxdialog: add a new theme bluetitle which is now default · 350b5b76
      Sam Ravnborg 提交于
      The bluetitle theme is a slightly modified version of the colorscheme
      that -mm users has been used to. The bluetitle is more readable especially
      on some LCD screens so it is now default.
      Anyone that really wants the old color selection can get it by selecting
      the classic color theme:
      make MENUCONFIG_COLOR=classic menuconfig
      
      The bluetitle theme was modified by Roman Zippel <zippel@linux-m68k.org>
      to further improve readability on LCD screens.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      350b5b76
    • S
      kconfig/lxdialog: add support for color themes and add blackbg theme · 45897213
      Sam Ravnborg 提交于
      The blackbg theme was originally made by: Han Boetes
      It was copied from a patch by "Randy.Dunlap" <rdunlap@xenotime.net>
      which was also the inspiration source for the color theme support.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      45897213
    • S
      kconfig/lxdialog: refactor color support · 98e5a157
      Sam Ravnborg 提交于
      Clean up and refactor color support. All color support are now
      in util.c including color definitions.
      In the process introduced a global variable named 'dlg' which is
      used all over to set color - thats the reason why all files are changed.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      98e5a157
  19. 01 7月, 2006 1 次提交
  20. 15 4月, 2006 1 次提交
  21. 11 4月, 2006 1 次提交
  22. 06 3月, 2006 1 次提交
  23. 21 1月, 2006 1 次提交
    • S
      kconfig: fix /dev/null breakage · 3835f821
      Sam Ravnborg 提交于
      While running "make menuconfig" and "make mrproper"
      some people experienced that /dev/null suddenly changed
      permissions or suddenly became a regular file.
      The main reason was that /dev/null was used as output
      to gcc in the check-lxdialog.sh script and gcc did
      some strange things with the output file; in this
      case /dev/null when it errorred out.
      
      Following patch implements a suggestion
      from Bryan O'Sullivan <bos@serpentine.com> to
      use gcc -print-file-name=libxxx.so.
      
      Also the Makefile is adjusted to not resolve value of
      HOST_EXTRACFLAGS and HOST_LOADLIBES until they are actually used.
      This prevents us from calling gcc when running make *clean/mrproper
      
      Thanks to Eyal Lebedinsky <eyal@eyal.emu.id.au> and
      Jean Delvare <khali@linux-fr.org> for the first error reports.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      ---
      3835f821
  24. 15 1月, 2006 1 次提交
    • S
      kconfig: get rid of stray a.o, support ncursesw · 60f33b80
      Sam Ravnborg 提交于
      scripts/kconfig/lxdialog/check-lxdialog.sh uses gcc to check for
      what libraries are present. Redirect output to /dev/null
      so we do not generate an a.out.
      Also included support for ncursesw - so if present prefer that
      instead of ncurses.
      The order is now (first is preferred):
      1) ncursesw
      2) ncurses
      3) curses
      
      The latter is to support SunOS.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      60f33b80
  25. 09 1月, 2006 1 次提交
  26. 03 1月, 2006 1 次提交
  27. 02 1月, 2006 1 次提交
  28. 17 12月, 2005 1 次提交