diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-02-02 21:51:27 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-02-02 21:58:00 -0500 |
commit | 615f0833aa4c4aa944ceb78895bbffa8bd1884df (patch) | |
tree | 3704d95e3049290c2efaff829d7ac2c77c97a681 /scripts/mod/file2alias.c | |
parent | 88f66ea98d7ae6a8b6a34e38b1b4fa51abc1c9ca (diff) | |
download | op-kernel-dev-615f0833aa4c4aa944ceb78895bbffa8bd1884df.zip op-kernel-dev-615f0833aa4c4aa944ceb78895bbffa8bd1884df.tar.gz |
kconfig: Add LSMOD=file to override the lsmod for localmodconfig
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: Steven Rostedt <rostedt@goodmis.org>
On branch config/linus
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions