1. 28 9月, 2010 1 次提交
    • M
      Merge branch 'kbuild/kconfig/kbuild-generic-v7' of... · 0455029b
      Michal Marek 提交于
      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 9月, 2010 17 次提交
  3. 17 9月, 2010 1 次提交
  4. 13 9月, 2010 3 次提交
  5. 08 9月, 2010 1 次提交
  6. 06 9月, 2010 1 次提交
  7. 01 9月, 2010 1 次提交
    • A
      kconfig qconf: port to QT4 · 133c5f7c
      Alexander Stein 提交于
      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: NAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      133c5f7c
  8. 31 8月, 2010 1 次提交
  9. 26 8月, 2010 1 次提交
  10. 17 8月, 2010 4 次提交
  11. 15 8月, 2010 2 次提交
    • S
      kconfig: fix segfault when detecting recursive dependency · 3643f849
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      3643f849
    • S
      kconfig: fix savedefconfig with choice marked optional · 84062dd3
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      84062dd3
  12. 13 8月, 2010 3 次提交
  13. 12 8月, 2010 2 次提交
    • S
      kconfig: fix tristate choice with minimal config · a64b44ea
      Sam Ravnborg 提交于
      If a minimal config did not specify the value
      of all choice values, the resulting configuration
      could have wrong values.
      
      Consider following example:
      config M
              def_bool y
              option modules
      choice
              prompt "choice list"
      config A
              tristate "a"
      config B
      	tristate "b"
      endchoice
      
      With a defconfig like this:
      CONFIG_M=y
      CONFIG_A=y
      
      The resulting configuration would have
      
          CONFIG_A=m
      
      which was unexpected.
      
      The problem was not not all choice values were set and thus
      kconfig calculated a wrong value.
      
      The fix is to set all choice values when we
      read a defconfig files.
      
      conf_set_all_new_symbols() is refactored such that
      random choice values are now handled by a dedicated function.
      And new choice values are set by set_all_choice_values().
      
      This was not the minimal fix, but the fix that resulted
      in the most readable code.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Reported-by: NArve Hjønnevåg <arve@android.com>
      Tested-by: NArve Hjønnevåg <arve@android.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      a64b44ea
    • S
      kconfig: fix savedefconfig for tristate choices · 801690ca
      Sam Ravnborg 提交于
      savedefconfig failed to save choice symbols equal to 'y'
      for tristate choices.
      This resulted in this value being lost.
      
      In particular is fixes an issue where
      
      	make ARCH=avr32 atngw100_defconfig
      	make ARCH=avr32 savedefconfig
      	cp defconfig arch/avr32/configs/atngw100_defconfig
      	make ARCH=avr32 atngw100_defconfig
      	diff -u .config .config.old
      
      failed to produce an identical .config.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      801690ca
  14. 04 8月, 2010 1 次提交
  15. 03 8月, 2010 1 次提交
    • S
      kconfig: add savedefconfig · 7cf3d73b
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      7cf3d73b