<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/Makefile.modinst, branch v2.6.23.3</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.23.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.23.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-06-24T21:16:45Z</updated>
<entry>
<title>kbuild: add option for stripping modules while installing them</title>
<updated>2006-06-24T21:16:45Z</updated>
<author>
<name>Theodore Ts'o</name>
<email>tytso@mit.edu</email>
</author>
<published>2006-06-22T00:53:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ac031f26e89cc04fc7504f31ae137857eb83a051'/>
<id>urn:sha1:ac031f26e89cc04fc7504f31ae137857eb83a051</id>
<content type='text'>
Add option for stripping modules while installing them.

This function adds support for stripping modules while they are being
installed.  CONFIG_DEBUG_KERNEL (which will probably become more
popular as developers use kdump) causes the size of the installed
modules to grow by a factor of 9 or so.

Some kernel package systems solve this problem by stripping the debug
information from /lib/modules after running "make modules_install",
but that may not work for people who are installing directly into
/lib/modules --- root partitions that were sized to handle 16 megs
worth of modules may not be quite so happy with 145 megs of modules,
so the "make modules_install" never succeeds.

This patch allows such users to request modules_install to strip the
modules as they are installed.

Signed-off-by: "Theodore Ts'o" &lt;tytso@mit.edu&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: change kbuild to not rely on incorrect GNU make behavior</title>
<updated>2006-03-05T23:09:51Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2006-03-05T22:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4f1933620f57145212cdbb1ac6ce099eeeb21c5a'/>
<id>urn:sha1:4f1933620f57145212cdbb1ac6ce099eeeb21c5a</id>
<content type='text'>
The kbuild system takes advantage of an incorrect behavior in GNU make.
Once this behavior is fixed, all files in the kernel rebuild every time,
even if nothing has changed.  This patch ensures kbuild works with both
the incorrect and correct behaviors of GNU make.

For more details on the incorrect behavior, see:

http://lists.gnu.org/archive/html/bug-make/2006-03/msg00003.html

Changes in this patch:
  - Keep all targets that are to be marked .PHONY in a variable, PHONY.
  - Add .PHONY: $(PHONY) to mark them properly.
  - Remove any $(PHONY) files from the $? list when determining whether
    targets are up-to-date or not.

Signed-off-by: Paul Smith &lt;psmith@gnu.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: introduce Kbuild.include</title>
<updated>2005-07-25T20:10:36Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.(none)</email>
</author>
<published>2005-07-25T20:10:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8ec4b4ff1c89bb280e662b84eba503ca44abe836'/>
<id>urn:sha1:8ec4b4ff1c89bb280e662b84eba503ca44abe836</id>
<content type='text'>
Kbuild.include is a placeholder for definitions originally present in
both the top-level Makefile and scripts/Makefile.build.
There were a slight difference in the filechk definition, so the most videly
used version was kept and usr/Makefile was adopted for this syntax.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
---
</content>
</entry>
<entry>
<title>kbuild: Install external modules in a path relative to their own path</title>
<updated>2005-03-10T23:38:55Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2005-03-10T23:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f40f6ce6e619c9c345d2484024961d3cb56652d5'/>
<id>urn:sha1:f40f6ce6e619c9c345d2484024961d3cb56652d5</id>
<content type='text'>
When an external module is being built in down in a directory structure
keep the relative directory when installing the module.

Example:
fs/ contains a Makefile used to build both modules:
obj-y := myfs/ oldfs/
Install directories
fs/myfs/myfs.ko	  =&gt; Will be installed in /lib/modules/&lt;version&gt;/extra/fs/myfs/
fs/oldfs/oldfs.o  =&gt; Will be installed in /lib/modules/&lt;version&gt;/extra/fs/oldfs/

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Allow install of external modules to custom path</title>
<updated>2004-10-17T01:48:22Z</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@suse.de</email>
</author>
<published>2004-10-17T01:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=98d80463f8fcdcb66670da698a880b4b45be2c4c'/>
<id>urn:sha1:98d80463f8fcdcb66670da698a880b4b45be2c4c</id>
<content type='text'>
Currently, a ``make modules_install'' for an external module will
install that module into /lib/modules/$(uname -r)/extra. Allow to
override this default by specifying INSTALL_MOD_DIR.

Signed-off-by: Andreas Gruenbacher &lt;agruen@suse.de&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Fix modules_install</title>
<updated>2004-08-31T23:36:26Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-31T23:36:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0c5feff97191e4631446a9516663e42b4c917f01'/>
<id>urn:sha1:0c5feff97191e4631446a9516663e42b4c917f01</id>
<content type='text'>
modules_install failed for modules with 'ko' in their name.
Fixes this.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Solaris fixes in various kbuild Makfiles's</title>
<updated>2004-08-29T11:32:19Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@kernel.crashing.org</email>
</author>
<published>2004-08-29T11:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8a0aa84ca26612b2138d18e005782613e27f2ad0'/>
<id>urn:sha1:8a0aa84ca26612b2138d18e005782613e27f2ad0</id>
<content type='text'>
Additional Makefile fixes for Solaris 2.8

On Solaris, 'head' doesn't take a -q argument.  But we can use 'grep -h'
instead, so do that in Makefile.mod{inst,post}.  The built-in test to
/bin/sh doesn't like 'if ! cmd' syntax, so when determining if we need
to do modversion stuff, invert the if/else cases.  The built-in test
also doesn't understand -ef, so invoke a real version of test which does.

Signed-off-by: Tom Rini &lt;trini@kernel.crashing.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: sort modules for modpost and modinst</title>
<updated>2004-07-11T02:29:59Z</updated>
<author>
<name>Brian Gerst</name>
<email>bgerst@didntduck.org</email>
</author>
<published>2004-07-11T02:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=694effe72032db1384b5a084977b8bbb2c3cdaa6'/>
<id>urn:sha1:694effe72032db1384b5a084977b8bbb2c3cdaa6</id>
<content type='text'>
Process modules in sorted order during modpost and modules install.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: clean up module install rules</title>
<updated>2004-07-11T02:29:48Z</updated>
<author>
<name>Brian Gerst</name>
<email>bgerst@didntduck.org</email>
</author>
<published>2004-07-11T02:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5cfce8960087fb21821356b81972d580baea3a36'/>
<id>urn:sha1:5cfce8960087fb21821356b81972d580baea3a36</id>
<content type='text'>
Consolidate rules for installing internal and external modules.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: Create .tmp_versions when building external modules</title>
<updated>2004-04-13T02:21:59Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-04-13T02:21:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=24b5a6a3025278a1717798901f665114a1655831'/>
<id>urn:sha1:24b5a6a3025278a1717798901f665114a1655831</id>
<content type='text'>
From: Sam Ravnborg &lt;sam@ravnborg.org&gt;

When building external modules the $PWD/.tmp_versions directory is used.
The .tmp_versions directory in the kernel tree cannot be used because this
would clutter up the kernel tree especially when more than one external
module is being build for the same kernel tree.

This patch make sure to create $PWD/.tmp_versions, and to delete it during
make clean.  It also removes warning about 'messed with SUBDIRS', this is
no longer relevant when .tmp_versions is made outside the kernel tree.
</content>
</entry>
</feed>
