1. 02 5月, 2008 1 次提交
  2. 29 1月, 2008 1 次提交
    • 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
  3. 17 7月, 2007 1 次提交
  4. 19 5月, 2007 1 次提交
  5. 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
  6. 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
  7. 09 1月, 2006 1 次提交