1. 12 12月, 2009 1 次提交
    • M
      kbuild: create include/generated in silentoldconfig · 32197c7f
      Michal Marek 提交于
      The toplevel Makefile creates the directory if it runs silentoldconfig
      automatically, but if run manually, it fails:
      
        $ make mrproper
        $ make defconfig && make silentoldconfig
        *** Default configuration is based on 'x86_64_defconfig'
        #
        # configuration written to .config
        #
        scripts/kconfig/conf -s arch/x86/Kconfig
      
        *** Error during update of the kernel configuration.
        ...
      
      Move the mkdir command to the silentoldconfig target to make it work.
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      32197c7f
  2. 20 11月, 2009 1 次提交
  3. 22 8月, 2009 1 次提交
    • S
      kconfig: add missing dependency of conf to localyesconfig · 48586218
      Steven Rostedt 提交于
      There's a dependency missing.
      
      $ make localyesconfig
        HOSTCC  scripts/basic/fixdep
        HOSTCC  scripts/basic/docproc
        HOSTCC  scripts/basic/hash
      using config: '/boot/config-2.6.27.25-78.2.56.fc9.x86_64'
      /bin/sh: line 8: scripts/kconfig/conf: No such file or directory
      make[1]: *** [localyesconfig] Error 127
      make: *** [localyesconfig] Error 2
      
      Thus the script failed to run. But the sed command that converts the '=m'
      to '=y' still ran. This gives us a distro config with all modules
      converted to built in!
      
      The missing dependency was for conf for localyesconfig. This
      dependency was already set for localmodconfig.
      Reported-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      48586218
  4. 19 8月, 2009 3 次提交
    • S
      kconfig: test if a .config already exists · a7c02602
      Steven Rostedt 提交于
      If one were to run localmodconfig or localyesconfig without having
      a .config already in the file, then the end of the process would give
      a warning when it tries to move the old .config to .config.old.
      
      This patch adds a test to check if .config exists and avoid the moves
      if it does not.
      
      [ Impact: remove warning after make localmodconfig ]
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      a7c02602
    • S
      kconfig: add make localyesconfig option · 281c9dad
      Steven Rostedt 提交于
      This adds the option localyesconfig to make. This is similar to
      localmodconfig, but after it removes unnecessary modules it runs
      
        sed -i s/=m/=y/
      
      on the .config file. It then runs "make silentoldconfig" to fix any
      wholes that were created by the conversion of modules to core.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      281c9dad
    • S
      kconfig: make localmodconfig to run streamline_config.pl · 03fa25da
      Steven Rostedt 提交于
      Running the streamline_config.pl script manually can still be confusing
      for some users. This patch adds the localmodconfig option. This will
      automatically run streamline_config.pl on the current .config and
      then run "make silentoldconfig" to fix any wholes that might have been
      created.
      
       $ make localmodconfig
      
      This will remove any module configurations in .config that are not needed
      to compile the modules that are loaded.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      03fa25da
  5. 10 6月, 2009 2 次提交
  6. 23 10月, 2008 1 次提交
  7. 26 4月, 2008 1 次提交
  8. 29 1月, 2008 3 次提交
  9. 13 11月, 2007 1 次提交
    • S
      x86: enable "make ARCH=x86" · daa93fab
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      daa93fab
  10. 26 10月, 2007 3 次提交
  11. 18 10月, 2007 1 次提交
  12. 13 10月, 2007 1 次提交
  13. 17 7月, 2007 1 次提交
    • S
      kconfig: fix update-po-config · b70e325c
      Sam Ravnborg 提交于
      Massimo Maiurana <maiurana@gmail.com> 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: NSam Ravnborg <sam@ravnborg.org>
      Cc:  Massimo Maiurana <maiurana@gmail.com>
      Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
      b70e325c
  14. 03 5月, 2007 2 次提交
  15. 30 9月, 2006 3 次提交
    • S
      kbuild: do not build mconf & lxdialog unless needed · c29121b7
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      c29121b7
    • S
      kconfig/lxdialog: fix make mrproper · 903947d2
      Sam Ravnborg 提交于
      No Makefile in scripts/kconfig/lxdialog anymore, so do not
      go there during make mrproper.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      903947d2
    • 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
  16. 25 9月, 2006 1 次提交
  17. 06 3月, 2006 1 次提交
  18. 27 2月, 2006 1 次提交
  19. 10 2月, 2006 1 次提交
  20. 06 2月, 2006 1 次提交
  21. 07 1月, 2006 1 次提交
  22. 17 12月, 2005 1 次提交
  23. 23 11月, 2005 1 次提交
  24. 09 11月, 2005 2 次提交
  25. 07 11月, 2005 1 次提交
  26. 06 11月, 2005 1 次提交
  27. 31 10月, 2005 1 次提交
  28. 05 9月, 2005 1 次提交
  29. 06 5月, 2005 1 次提交
    • A
      [PATCH] Kconfig i18n support · 3b9fa093
      Arnaldo Carvalho de Melo 提交于
      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: NArnaldo Carvalho de Melo <acme@conectiva.com.br>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: Linus Torvalds <torvalds@osdl.org
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      3b9fa093