09 Jun, 2006

15 commits

  • If you set KCONFIG_OVERWRITECONFIG in environment, Kconfig will not break
    symlinks when .config is a symlink to somewhere else.

    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • If the beginning Kconfig file is missing, config segfaults so it might as
    well exit after the error message.

    Signed-off-by: Randy Dunlap
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Randy Dunlap
     
  • Kconfig does its own indentation of menu prompts, so warn about and ignore
    leading whitespace. Remove also a few unnecessary newlines after other
    warning prints.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • If clicking on of the links, which leads to a visible prompt, jump to it in
    the symbol list.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • Extend the expression print helper function to allow customization of the
    symbol output and use it to add links to the info window.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • This allows to configure every symbol list and info window separately via a
    popup menu, these settings are also separately saved and restored. Cleanup
    the ConfigSettings class a bit to reduce the number of #ifdef.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • Implement a simple search request for xconfig. Currently the capabilities are
    rather simple (the same as menuconfig).

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • This makes it possible to change two options which were hardcoded sofar.
    1. Any symbol can now take the role of CONFIG_MODULES
    2. The more useful option is to change the list of default file names,
    which kconfig uses to load the base configuration if .config isn't
    available.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • This adds the general framework to the parser to define options for config
    symbols with a syntax like:

    config FOO
    option bar[="arg"]

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • Now that kconfig can load multiple configurations, it becomes simple to
    integrate the split config step, by simply comparing the new .config file with
    the old auto.conf (and then saving the new auto.conf). A nice side effect is
    that this saves a bit of disk space and cache, as no data needs to be read
    from or saved into the splitted config files anymore (e.g. include/config is
    now 648KB instead of 5.2MB).

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • Extend conf_read_simple() so it can load multiple configurations.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • Extend struct symbol to allow storing multiple default values, which can be
    used to hold multiple configurations.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • The SYMBOL_{YES,MOD,NO} are not really used anymore (they were more used be
    the cml1 converter), so just remove them.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • This fixes one of the worst kbuild warts left - the broken dependencies used
    to check and regenerate the .config file. This was done via an indirect
    dependency and the .config itself had an empty command, which can cause make
    not to reread the changed .config file.

    Instead of this we generate now a new file include/config/auto.conf from
    .config, which is used for kbuild and has the proper dependencies. It's also
    the main make target now for all files generated during this step (and thus
    replaces include/linux/autoconf.h).

    This also means we can now relax the syntax requirements for the .config file
    and we don't have to rewrite it all the time, i.e. silentoldconfig only
    writes .config now when it's necessary to keep it in sync with the Kconfig
    files and even this can be suppressed by setting the environment variable
    KCONFIG_NOSILENTUPDATE, so the update can (and must) be done manually.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     
  • During loading special case the first common case (.config), be silent about
    it and otherwise mark it as a change that requires saving. Instead output
    that the file has been changed. IOW if conf does nothing (special), it's
    silent.

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     

20 Apr, 2006

1 commit

  • Replace outdated help message with a reference to README. Update README
    for make *config variants and environment variable info.

    Signed-off-by: Randy Dunlap
    Acked-by: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

15 Apr, 2006

1 commit

  • For easily getting fairly good accessibility, the TTY cursor should
    always be left at the focus location. This patch fixes the checklist by
    just having the list refreshed after the dialog box (hence the cursor
    position remains in the list).

    Signed-off-by: Samuel Thibault
    Signed-off-by: Linus Torvalds

    Samuel Thibault
     

11 Apr, 2006

4 commits


13 Mar, 2006

1 commit


06 Mar, 2006

1 commit

  • The kbuild system takes advantage of an incorrect behavior in GNU make.
    Once this behavior is fixed, all files in the kernel rebuild every time,
    even if nothing has changed. This patch ensures kbuild works with both
    the incorrect and correct behaviors of GNU make.

    For more details on the incorrect behavior, see:

    http://lists.gnu.org/archive/html/bug-make/2006-03/msg00003.html

    Changes in this patch:
    - Keep all targets that are to be marked .PHONY in a variable, PHONY.
    - Add .PHONY: $(PHONY) to mark them properly.
    - Remove any $(PHONY) files from the $? list when determining whether
    targets are up-to-date or not.

    Signed-off-by: Paul Smith
    Signed-off-by: Sam Ravnborg

    Paul Smith
     

27 Feb, 2006

1 commit

  • 'allnoconfig' is described by 'make help' as a "minimal config", that's not
    strictly correct. To be pedantic, a minimal config would be one where
    EMBEDDED was set to Y and most things therein disabled etc. Simply
    answering 'no' to all options does not give a minimal config.
    A better description of allnoconfig is that it answers all options with 'no'.

    This patch updates the description.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Sam Ravnborg

    Jesper Juhl
     

10 Feb, 2006

1 commit


08 Feb, 2006

1 commit


06 Feb, 2006

1 commit

  • On a system where libintl.h is present, but the NLS functionality is
    supplied by a separate library instead of the system C library, an attempt
    to "make config" or "make menuconfig" will fail with link errors, ex:

    scripts/kconfig/mconf.o:mconf.c:(.text+0xf63): undefined reference to
    `_libintl_gettext'

    This patch attempts to correct the problem by detecting whether or not NLS
    support requires linking with libintl.

    Signed-off-by: Samuel J Robb
    Cc: Roman Zippel
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robb, Sam
     

21 Jan, 2006

1 commit

  • 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 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 and
    Jean Delvare for the first error reports.

    Signed-off-by: Sam Ravnborg
    ---

    Sam Ravnborg
     

16 Jan, 2006

1 commit

  • To enable 'make kernelrelease' earlier now create .kernelrelease when
    one of the *config targets are used.
    Also introduce KERNELVERSION - only user is kconfig.
    KERNELVERSION was needed to display kernel version in menuconfig -
    KERNELRELEASE is not valid until configuration has completed.
    kconfig files modified to use KERNELVERSION.
    Bug reported by: Rene Rebe

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

15 Jan, 2006

1 commit

  • 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: Sam Ravnborg

    Sam Ravnborg
     

11 Jan, 2006

1 commit


09 Jan, 2006

3 commits


07 Jan, 2006

1 commit


05 Jan, 2006

1 commit


03 Jan, 2006

2 commits


02 Jan, 2006

2 commits