<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/kconfig/Makefile, branch v2.6.34.15</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/kconfig/Makefile?h=v2.6.34.15</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/kconfig/Makefile?h=v2.6.34.15'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-07-05T18:22:43Z</updated>
<entry>
<title>gconfig: fix build failure on fedora 13</title>
<updated>2010-07-05T18:22:43Z</updated>
<author>
<name>Richard Kennedy</name>
<email>richard@rsk.demon.co.uk</email>
</author>
<published>2010-05-27T09:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ec883a3709b76f16853c29e9fc19c699e582a692'/>
<id>urn:sha1:ec883a3709b76f16853c29e9fc19c699e582a692</id>
<content type='text'>
commit cbab05f041a4cff6ca15856bdd35238b282b64eb upstream.

Making gconfig fails on fedora 13 as the linker cannot resolve dlsym.

Adding libdl to the link command fixes this.

make shows this error :-
    /usr/bin/ld: scripts/kconfig/kconfig_load.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
    /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line
    /lib64/libdl.so.2: could not read symbols: Invalid operation

tested on x86_64 fedora 13.

Signed-off-by: Richard Kennedy &lt;richard@rsk.demon.co.uk&gt;
Reviewed-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>kconfig: Simplify LSMOD= handling</title>
<updated>2010-02-03T16:45:25Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-02-03T16:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3cebbb81c7e75321e25cc586d07a25a3d98278fc'/>
<id>urn:sha1:3cebbb81c7e75321e25cc586d07a25a3d98278fc</id>
<content type='text'>
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
LKML-Reference: &lt;20100203162014.GA10956@sepie.suse.cz&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: Add LSMOD=file to override the lsmod for localmodconfig</title>
<updated>2010-02-03T02:58:00Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2010-02-03T02:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=615f0833aa4c4aa944ceb78895bbffa8bd1884df'/>
<id>urn:sha1:615f0833aa4c4aa944ceb78895bbffa8bd1884df</id>
<content type='text'>
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 &lt;rostedt@goodmis.org&gt;

 On branch config/linus
</content>
</entry>
<entry>
<title>kconfig: Create include/generated for localmodconfig</title>
<updated>2010-01-06T21:43:08Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2010-01-06T21:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=17263baf958b7ab1d8c60445f412a1080362c88c'/>
<id>urn:sha1:17263baf958b7ab1d8c60445f412a1080362c88c</id>
<content type='text'>
If someone downloads a brand new kernel and runs localmodconfig or
localyesconfig, the ending result will report:

 *** Error during update of the kernel configuration.

This is because localmodconfig and localyesconfig must create the
include/generated directory to place the autoconf.h file.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kbuild: create include/generated in silentoldconfig</title>
<updated>2009-12-12T12:08:16Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2009-11-25T14:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=32197c7ffb06b1319850f8fdfa1a49d32a63b79b'/>
<id>urn:sha1:32197c7ffb06b1319850f8fdfa1a49d32a63b79b</id>
<content type='text'>
The toplevel Makefile creates the directory if it runs silentoldconfig
automatically, but if run manually, it fails:

  $ make mrproper
  $ make defconfig &amp;&amp; make silentoldconfig
  *** Default configuration is based on 'x86_64_defconfig'
  #
  # configuration written to .config
  #
  scripts/kconfig/conf -s arch/x86/Kconfig

  *** Error during update of the kernel configuration.
  ...

Move the mkdir command to the silentoldconfig target to make it work.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: Fix make O=&lt;dir&gt; local{mod,yes}config</title>
<updated>2009-11-20T14:45:55Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-11-20T14:21:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=463bf9000750e08a85ee0b40da3266aae8a54ba2'/>
<id>urn:sha1:463bf9000750e08a85ee0b40da3266aae8a54ba2</id>
<content type='text'>
When the output directory is something other than the kernel source,
the streamline_config script gets confused. This patch passes in the
source directory to the script so that it can find the proper files.

Reported-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Tested-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: add missing dependency of conf to localyesconfig</title>
<updated>2009-08-21T16:42:20Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-08-21T16:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=48586218b6515b9bd70694e3cd8c901a6a6ee69c'/>
<id>urn:sha1:48586218b6515b9bd70694e3cd8c901a6a6ee69c</id>
<content type='text'>
There's a dependency missing.

$ make localyesconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
using config: '/boot/config-2.6.27.25-78.2.56.fc9.x86_64'
/bin/sh: line 8: scripts/kconfig/conf: No such file or directory
make[1]: *** [localyesconfig] Error 127
make: *** [localyesconfig] Error 2

Thus the script failed to run. But the sed command that converts the '=m'
to '=y' still ran. This gives us a distro config with all modules
converted to built in!

The missing dependency was for conf for localyesconfig. This
dependency was already set for localmodconfig.

Reported-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: test if a .config already exists</title>
<updated>2009-08-19T02:15:55Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-05-07T15:09:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a7c02602a85a0d3f34331ff34d54de7416085985'/>
<id>urn:sha1:a7c02602a85a0d3f34331ff34d54de7416085985</id>
<content type='text'>
If one were to run localmodconfig or localyesconfig without having
a .config already in the file, then the end of the process would give
a warning when it tries to move the old .config to .config.old.

This patch adds a test to check if .config exists and avoid the moves
if it does not.

[ Impact: remove warning after make localmodconfig ]

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: add make localyesconfig option</title>
<updated>2009-08-19T01:55:49Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-04-30T02:52:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=281c9dadc31ffd9f3cf637553134fefe75e849da'/>
<id>urn:sha1:281c9dadc31ffd9f3cf637553134fefe75e849da</id>
<content type='text'>
This adds the option localyesconfig to make. This is similar to
localmodconfig, but after it removes unnecessary modules it runs

  sed -i s/=m/=y/

on the .config file. It then runs "make silentoldconfig" to fix any
wholes that were created by the conversion of modules to core.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>kconfig: make localmodconfig to run streamline_config.pl</title>
<updated>2009-08-19T01:54:28Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2009-04-30T02:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=03fa25da8335a942161a8070b3298cfd4edf9b6a'/>
<id>urn:sha1:03fa25da8335a942161a8070b3298cfd4edf9b6a</id>
<content type='text'>
Running the streamline_config.pl script manually can still be confusing
for some users. This patch adds the localmodconfig option. This will
automatically run streamline_config.pl on the current .config and
then run "make silentoldconfig" to fix any wholes that might have been
created.

 $ make localmodconfig

This will remove any module configurations in .config that are not needed
to compile the modules that are loaded.

Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
</feed>
