1. 27 Sep, 2010 1 commit
    • Michal Marek's avatar
      Merge branch 'kbuild/kconfig/kbuild-generic-v7' of... · 0455029b
      Michal Marek authored
      Merge branch 'kbuild/kconfig/kbuild-generic-v7' of http://github.com/lacombar/linux-2.6 into kbuild/kconfig
      
      * 'kbuild/kconfig/kbuild-generic-v7' of http://github.com/lacombar/linux-2.6:
        kbuild: migrate all arch to the kconfig mainmenu upgrade
        kconfig: expand file names
        kconfig: use the file's name of sourced file
        kconfig: constify file name
        kconfig: don't emit warning upon rootmenu's prompt redefinition
        kconfig: replace KERNELVERSION usage by the mainmenu's prompt
        kconfig: delay gconf window initialization
        kconfig: expand by default the rootmenu's prompt
        kconfig: add a symbol string expansion helper
        kconfig: regen parser
        kconfig: implement the `mainmenu' directive
        kconfig: allow PACKAGE to be defined on the compiler's command-line
        kconfig: rephrase help texts/comments not to include the package name
        kconfig: allow build-time definition of the internal config prefix
        kconfig: rephrase help text not to mention the internal prefix
        kconfig: replace a `switch()' statement by a more flexible `if()' statement
      0455029b
  2. 20 Sep, 2010 8 commits
  3. 19 Sep, 2010 9 commits
  4. 17 Sep, 2010 1 commit
  5. 13 Sep, 2010 3 commits
  6. 08 Sep, 2010 1 commit
  7. 06 Sep, 2010 1 commit
  8. 01 Sep, 2010 1 commit
    • Alexander Stein's avatar
      kconfig qconf: port to QT4 · 133c5f7c
      Alexander Stein authored
      A straight forward port to QT4 using qt3to4 and compiling against
        qt3support
      
      * Use pkg-config to detect QT4 which is hopefully portable enough
      * If no QT4, QT3 will by tried instead
      * Classes renamed using qt3to4
        * If build using QT3 renamed to QT3 class names using defines
      * ConfigInfoView::menu has to be renamed as QT4 moc strips struct from
        struct menu and creates a name conflict
      * QT2 support has been dropped
      * The hidden options inserted in 39a4897c
        are use in native API
      Signed-off-by: default avatarAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      133c5f7c
  9. 31 Aug, 2010 1 commit
  10. 26 Aug, 2010 1 commit
  11. 17 Aug, 2010 3 commits
  12. 16 Aug, 2010 1 commit
    • Nir Tzachar's avatar
      nconfig: add search support · a72f3e2b
      Nir Tzachar authored
      Remove the old hotkeys feature, and replace it by an interactive string
      search.
      From nconfig help:
      
      Searching: pressing '/' triggers interactive search mode.
                 nconfig performs a case insensitive search for the string
                 in the menu prompts (no regex support).
                 Pressing the up/down keys highlights the previous/next
                 matching item. Backspace removes one character from the
                 match string. Pressing either '/' again or ESC exits
                 search mode. All other keys behave normally.
      
      Miscellaneous other changes (including Rundy's and Justin's input).
      Signed-off-by: default avatarNir Tzachar <nir.tzachar@gmail.com>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      a72f3e2b
  13. 14 Aug, 2010 2 commits
    • Sam Ravnborg's avatar
      kconfig: fix segfault when detecting recursive dependency · 3643f849
      Sam Ravnborg authored
      Following sample Kconfig generated a segfault:
      
      config FOO
              bool
              select PERF_EVENTS if HAVE_HW_BREAKPOINT
      
      config PERF_EVENTS
              bool
      
      config HAVE_HW_BREAKPOINT
              bool
              depends on PERF_EVENTS
      
      Fix by reverting back to a valid property if there was no
      property on the stack of symbols.
      
      The above pattern were seen in sh Kconfig.
      A fix for the Kconfig file has been sent to the sh folks.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      3643f849
    • Sam Ravnborg's avatar
      kconfig: fix savedefconfig with choice marked optional · 84062dd3
      Sam Ravnborg authored
      savedefconfig failed to save the correct minimal config
      when it encountered a choice marked optional.
      
      Consider following minimal configuration:
      $cat Kconfig
      choice
      	prompt "choice"
      	optional
      
      config A
      	bool "a"
      
      config B
      	bool "b"
      
      endchoice
      
      $cat .config | grep -v ^#
      CONFIG_A=y
      
      $conf --savedefconfig=defconfig Kconfig
      
      would before this fix result in an empty file, because
      kconfig would assume that CONFIG_A=y is a default value.
      But because the choice is optional the default is that
      both A and B are =n.
      
      Fix so we handle optional choices correct.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      84062dd3
  14. 12 Aug, 2010 5 commits
  15. 04 Aug, 2010 1 commit
  16. 03 Aug, 2010 1 commit
    • Sam Ravnborg's avatar
      kconfig: add savedefconfig · 7cf3d73b
      Sam Ravnborg authored
      savedefconfig will save a minimal config to a file
      named "defconfig".
      
      The config symbols are saved in the same order as
      they appear in the menu structure so it should
      be possible to map them to the relevant menus
      if desired.
      
      The implementation was tested against several minimal
      configs for arm which was created using brute-force.
      
      There was one regression related to default numbers
      which had their valid range further limited by another symbol.
      
      Sample:
      
      config FOO
      	int "foo"
      	default 4
      
      config BAR
      	int "bar"
      	range 0 FOO
      
      If FOO is set to 3 then BAR cannot take a value higher than 3.
      But the current implementation will set BAR equal to 4.
      
      This is seldomly used and the final configuration is OK,
      and the fix was non-trivial.
      So it was documented in the code and left as is.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      7cf3d73b