1. 28 9月, 2012 3 次提交
  2. 31 8月, 2012 1 次提交
  3. 30 8月, 2012 1 次提交
  4. 31 7月, 2012 5 次提交
  5. 26 7月, 2012 6 次提交
  6. 20 7月, 2012 1 次提交
  7. 14 7月, 2012 3 次提交
  8. 13 7月, 2012 4 次提交
  9. 08 7月, 2012 1 次提交
  10. 05 7月, 2012 3 次提交
  11. 28 6月, 2012 6 次提交
  12. 21 6月, 2012 1 次提交
  13. 20 6月, 2012 4 次提交
    • S
      localmodconfig: Add debug environment variable LOCALMODCONFIG_DEBUG · 4503379c
      Steven Rostedt 提交于
      If the environment variable LOCALMODCONFIG_DEBUG is set, then debug output
      will appear in the make localmodconfig. This will simplify debugging what
      people get with their output, as I can just tell people to do:
      
        LOCALMODCONFIG_DEBUG=1 make localmodconfig 2>out.txt
      
      and have them send me the out.txt. I'll be able to see why things are not
      working as they think it should be.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      4503379c
    • S
      localmodconfig: Check if configs are already set for selects · d4bb58b5
      Steven Rostedt 提交于
      There are some cases that a required module does not have a prompt
      and needs to have another module enabled that selects it to be set.
      As localmodconfig is conservative and tries to make the minimum config
      without breaking the user's kernel, or keeping the user from using
      devices that were loaded when the lsmod was done, all modules that
      select this module will also be enabled.
      
      If you needed module A, but module A did not have a prompt but needed
      module B to be selected, localmodconfig would make sure B was still
      enabled. If not only B selected A, but C, D, E, F, and G also
      selected A, then all of those would also be included, as well as the
      modules they depend on. This ballooned the number of configs that
      localmodconfig would keep.
      
      The fix here is to process the depends first, and then record those
      configs that did not have a prompt and needed to be selected.
      After the depends are done, check what configs are needed to select
      the configs in the list, and if a config that selects it is already
      set, then we don't need to do anything else.
      
      If no config that selects the config is set, then just pick one and
      try again.
      
      This change brought down the number of selected modules from 290
      to 67! Both before and after were run against a config that had 3095
      modules enabled.
      
      Tested-by: John David Yost <johnyost@ptd.net> # AlleyTrotter
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      d4bb58b5
    • S
      localmodconfig: Read in orig config file to avoid extra processing · 4f4c51c9
      Steven Rostedt 提交于
      Read in the entire config file. If there's a config that we depend on
      that happens to be in the core set (not a module) then we do not need
      to process it as a module.
      
      Currently, we follow the entire depend and selects even if they
      are enabled as core and not modules. By checking to make sure that we
      only look at modules we can drop the count a little.
      
      From one of my tests, localmodconfig went from taking 3095 set modules
      down to 356 before this patch, and down to 290 modules after the change.
      
      Tested-by: John David Yost <johnyost@ptd.net> # AlleyTrotter
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      4f4c51c9
    • S
      localmodconfig: Comments and cleanup for streamline_config.pl · 0b58a99e
      Steven Rostedt 提交于
      Added some more comments and cleaned up part of the the code to use
      a named variable instead of one of the special $1 perl variables.
      
      No functional changes.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      0b58a99e
  14. 17 6月, 2012 1 次提交