1. Feb 03, 2010
    • Steven Rostedt's avatar
      kconfig: Add LSMOD=file to override the lsmod for localmodconfig · 615f0833
      Steven Rostedt authored
      
      
      Doing the following:
      
      	make LSMOD=file localmodconfig
      
      Will make the streamline-config code use the given file instead of
      lsmod. If the file is an executable, it will execute it, otherwise
      it will read it as text.
      
      	make LSMOD=/my/local/path/lsmod localmodconfig
      
      The above will execute the lsmod in /my/local/path instead of the
      lsmods that may be located elsewhere.
      
      	make LSMOD=embedded_board_lsmod localmodconfig
      
      The above will read the "embedded_board_lsmod" as a text file. This
      is useful if you are doing a cross compile and need to run the
      config against modules that exist on an embedded device.
      
      Note, if the LSMOD= file does is not a path, it will add the
      path to the object directory. That is, the above example will look
      for "embedded_board_lsmod" in the directory that the binary will
      be built in (the O=dir directory).
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      
       On branch config/linus
      615f0833
    • Steven Rostedt's avatar
      kconfig: Look in both /bin and /sbin for lsmod in streamline_config.pl · 88f66ea9
      Steven Rostedt authored
      
      
      Distributions now have lsmod in /bin instead of /sbin. But to handle
      both cases, we look for it in /sbin /bin /usr/bin and /usr/sbin.
      If lsmod is not found in any of those paths, it defaults to use
      just lsmod and hopes that it lies in the path of the user.
      
      Tested-by: default avatarXavier Chantry <shiningxc@gmail.com>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      88f66ea9
  2. Jan 07, 2010
  3. Jan 06, 2010
  4. Jan 05, 2010
  5. Jan 04, 2010