10 Jun, 2009

2 commits


23 Oct, 2008

1 commit

  • Teach scripts/kconfig/Makefile and top-level Makefile that arch/*/Makefile
    is allowed to say Kconfig := .
    Rewrite arch/um/Kconfig and arch/um/Kconfig. so that the latter
    would be top-level one (and include the pieces of the former).

    Signed-off-by: Al Viro
    Signed-off-by: H. Peter Anvin

    Al Viro
     

26 Apr, 2008

1 commit


29 Jan, 2008

3 commits

  • Gettext support for menu and toolbar.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • This patch adds tracking messages.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • 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

    Signed-off-by: Sam Ravnborg
    Cc: Frans Pop

    Sam Ravnborg
     

13 Nov, 2007

1 commit

  • After unification of the Kconfig files and
    introducing K64BIT support in kconfig
    it required only trivial changes to enable
    "make ARCH=x86".

    With this patch you can build for x86_64 in several ways:
    1) make ARCH=x86_64
    2) make ARCH=x86 K64BIT=y
    3) make ARCH=x86 menuconfig
    => select 64-bit

    Likewise for i386 with the addition that
    i386 is default is you say ARCH=x86.

    Signed-off-by: Sam Ravnborg
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"

    Sam Ravnborg
     

26 Oct, 2007

3 commits


18 Oct, 2007

1 commit


13 Oct, 2007

1 commit

  • cygwin provides the header file but the lib file needs
    to be added manually. A generic fix is to check if
    we can compile and link a program that uses gettext()
    and if it fails fall back to NO_NLS.

    International users of cygwin may have to specify
    HOST_LOADLIBES := "-lintl" on the make command line.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

17 Jul, 2007

1 commit

  • Massimo Maiurana reported that
    update-po-config was broken:
    1) spelling errors in Makefile so arch/um failed
    2) UTF-8 was not supported

    The following patch address the above problems.
    kxgettext now append the output to the .pot file
    generated by xgettext - so we have a header.
    In all places UFT-8 is specifed so we now flawlessly
    support UTF-8.
    The Kconfig files had an empty string in a few cases -
    these are now supressed in kxgettext.

    With this the translators can now pick up where they left
    and get it all translated.
    There are ~11000 strings to be translated...

    Signed-off-by: Sam Ravnborg
    Cc: Massimo Maiurana
    Cc: Arnaldo Carvalho de Melo

    Sam Ravnborg
     

03 May, 2007

2 commits


30 Sep, 2006

3 commits

  • Due to a limitation in kbuild all objects referred
    by xxx-y or xxx-objs will be build when one of
    the targets needs to e build.

    This caused lxdialog to be build pulling in ncurses
    that is not always available.
    So avoid building mconf & lxdialog unless really needed.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • No Makefile in scripts/kconfig/lxdialog anymore, so do not
    go there during make mrproper.

    Signed-off-by: Sam Ravnborg

    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

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

    Sam Ravnborg
     

25 Sep, 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


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
     

07 Jan, 2006

1 commit


05 Jan, 2006

1 commit


17 Dec, 2005

1 commit


23 Nov, 2005

1 commit


09 Nov, 2005

2 commits

  • 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
     

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

1 commit

  • 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
     

05 Sep, 2005

1 commit

  • 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
     

06 May, 2005

1 commit

  • This patch adds i18n support for make *config, allowing users to have the
    config process in their own language.

    No printk was harmed in the process, don't worry, so all the bug reports,
    kernel messages, etc, remain in english, just the user tools to configure
    the kernel are internationalized.

    Users not interested in translations can just unset the related LANG,
    LC_ALL, etc env variables and have the config process in plain english,
    something like:

    LANG= make menuconfig

    is enough for having the whole config process in english. Or just don't
    install any translation file.

    Translations for brazilian portuguese are being done by a team of
    volunteers at:

    http://www.visionflex.inf.br/kernel_ptbr/pmwiki.php/Principal/Traducoes

    To start the translation process:

    make update-po-config

    This will generate the pot template named scripts/kconfig/linux.pot,
    copy it to, say, ~/es.po, to start the translation for spanish.

    To test your translation, as root issue this command:

    msgfmt -o /usr/share/locale/es/LC_MESSAGES/linux.mo ~/es.po

    Replace "es" with your language code.

    Then execute, for instance:

    make menuconfig

    The current patch doesn't use any optimization to reduce the size of the
    generated .mo file, it is possible to use the config option as a key, but
    this doesn't prevent the current patch from being used or the translations
    done under the current scheme to be in any way lost if we chose to do any
    kind of keying.

    Thanks to Fabricio Vaccari for starting the pt_BR (brazilian portuguese)
    translation effort, Thiago Maciera for helping me with the gconf.cc (QT
    frontent) i18n coding and to all the volunteers that are already working on
    the first translation, to pt_BR.

    I left the question on whether to ship the translations with the stock kernel
    sources to be discussed here, please share your suggestions.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnaldo Carvalho de Melo
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds