26 Dec, 2005

2 commits

  • Commandlines are contained in the ..cmd files and in case they
    contain a '#' char make see this as start of comment.
    Teach fixdep to escape the '#' char so make will assing the full commandline.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • This is the patch for the following issue:

    In include/linux/module.h, "__crc_" and "__ksymtab_" are hard
    coded to be the prefix for some kinds of symbols (CRC symbol and
    ksymtab section). But in script /mod/modpost.c,
    MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC
    symbols. So if an architecture (such as h8300 or Blackfin) defines
    MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about
    "no invalid crc".
    And it is the same with KSYMTAB_PFX.

    Signed-off-by: Luke Yang
    Signed-off-by: Sam Ravnborg

    Luke Yang
     

17 Dec, 2005

1 commit


22 Nov, 2005

1 commit


21 Nov, 2005

3 commits


20 Nov, 2005

4 commits


14 Nov, 2005

1 commit


09 Nov, 2005

9 commits

  • Add some more checks during the parsing of .config, so that after parsing
    sym_change_count reflects the correct state whether the .config is correct and
    in sync with the Kconfig or if it needs saving.

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

    Roman Zippel
     
  • Add a few error tokens to the parser to catch common errors and print more
    descriptive error messages.

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

    Roman Zippel
     
  • This simplifies the parser a bit by merging the various symbol types into a
    single token and adds the type to the keyword hash.

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

    Roman Zippel
     
  • Use gperf to generate a hash for the kconfig keywords. This greatly reduces
    the size of the generated scanner and makes it easier to extend kconfig.

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

    Roman Zippel
     
  • Remove the long obsolete zconf.tab.h and fix kconfig make rules to generate
    the correct output files. Setting LKC_GENPARSER will now also update the
    shipped files.

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

    Roman Zippel
     
  • This allows variable arguments in the range option for int and hex config
    symbols.

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

    Roman Zippel
     
  • Allow to force setting of config variables during all{no,mod,yes,random}config
    to a specific value. For that conf first checks the KCONFIG_ALLCONFIG
    environment variable for a file name, otherwise it checks for
    all{no,mod,yes,random}.config and all.config. The file is a normal config
    file, which presets the config variables, but they are still subject to normal
    dependency checks.

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

    Roman Zippel
     
  • The restart check whether new symbols became visible, didn't always work for
    choice symbols. Even if a choice symbol itself isn't changable, the childs
    are. This also requires to update the new status of all choice values, once
    one of them is set.

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

    Roman Zippel
     
  • When doing its recursive dependency check, scripts/kconfig/conf uses the flag
    SYMBOL_CHECK_DONE to avoid rechecking a symbol it has already checked.
    However, that flag is only set at the top level, so if a symbol is first
    encountered as a dependency of another symbol it will be rechecked every time
    it is encountered until it's encountered at the top level.

    This patch adjusts the flag setting so that each symbol will only be checked
    once, regardless of whether it is first encountered at the top level, or while
    recursing down from another symbol. On complex configurations, this vastly
    speeds up scripts/kconfig/conf. The config in the powerpc merge tree is
    particularly bad: this patch reduces the time for 'scripts/kconfig/conf -o
    arch/powerpc/Kconfig' by a factor of 40 on a G5. That's even including the
    time to print the config, so the speedup in the actual checking is more likely
    2 or 3 orders of magnitude.

    Signed-off-by: David Gibson
    Signed-off-by: Roman Zippel
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Gibson
     

07 Nov, 2005

1 commit


06 Nov, 2005

1 commit

  • From: Than Ngo
    qt as installed on fedora core (2 and 3) does not work with vanilla
    kernel. The linker fails to locate the qt lib:

    Actual Results: # make xconfig
    HOSTLD scripts/kconfig/qconf
    /usr/bin/ld: cannot find -lqt
    collect2: ld returned 1 exit status

    Than Ngo has provided following fix for the bug.

    Cc: Than Ngo
    Acked-by: Dave Jones
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

31 Oct, 2005

2 commits

  • I made a patch that detects if libintl.h (needed for nls) is present on the
    host system and if it's not, it nls support is disabled by providing
    dummies for the used nls functions.

    This way if there is nls support on the host system the *config targets
    will build according to Arnaldo Carvalho de Melo's i18n modifications, else
    it just uses the original English messages.

    I have also made a bug report at kernel's bugzilla:
    http://bugzilla.kernel.org/show_bug.cgi?id=5501
    And there is a discussion about this problem in Gentoo's bugzilla:
    http://bugs.gentoo.org/show_bug.cgi?id=99810

    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yuri Vasilevski
     
  • Add explicit text about
    - where menuconfig '/' (search) searches for strings,
    - that substrings are allowed, and
    - that regular expressions are supported.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

29 Oct, 2005

1 commit


18 Oct, 2005

1 commit


26 Sep, 2005

1 commit


12 Sep, 2005

1 commit


11 Sep, 2005

1 commit

  • Use foo := $(call objectify, $(foo)) to prefix $(foo) with $(obj)/ unless
    $(foo) is an absolute path.
    For now no in-tree users - soon to come.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

10 Sep, 2005

1 commit


08 Sep, 2005

3 commits

  • Tested with 2.12i and 2.13-pre2.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • Local symbols generated by gcc start with a `$'; no point in including them
    in the kernel.

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     
  • This patch changes the way the compression algorithm works. The base
    algorithm is similiar to the previous but we force the compressed token
    size to 2.

    Having a fixed size compressed token allows for a lot of optimizations, and
    that in turn allows this code to run over *all* the symbols faster than it
    did before over just a subset.

    Having it work over all the symbols will make it behave better when symbols
    change positions between passes, and the "inconsistent kallsyms" messages
    should become less frequent.

    In my tests the compression ratio was degraded by about 0.5%, but the
    results will depend greatly on the number of symbols to compress.

    Signed-off-by: Paulo Marques
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paulo Marques
     

06 Sep, 2005

1 commit


05 Sep, 2005

3 commits

  • The 'make update-po-config' creates the .pot file for the default arch. This
    patch enhances it with all arch.

    Signed-off-by: Egry Gabor
    Cc: Arnaldo Carvalho de Melo
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Egry Gabor
     
  • The end of line character doesn't exist on end of help in all case, check it
    first.

    Signed-off-by: Egry Gabor
    Cc: Arnaldo Carvalho de Melo
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Egry Gabor
     
  • The gettext doesn't handle the {CONFIG}:00000 markers as sources. I added a
    simple comment prefix for them.

    Signed-off-by: Egry Gabor
    Cc: Arnaldo Carvalho de Melo
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Egry Gabor
     

30 Aug, 2005

1 commit


20 Aug, 2005

1 commit