<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/Makefile.modinst, branch v2.6.14.2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.14.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.14.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2005-07-25T20:10:36Z</updated>
<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>
<entry>
<title>[PATCH] Add a MODULE_VERSION macro</title>
<updated>2004-02-26T14:51:58Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-02-26T14:51:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ccec1be4cd369f9c1b5ca661950e5bbd600861db'/>
<id>urn:sha1:ccec1be4cd369f9c1b5ca661950e5bbd600861db</id>
<content type='text'>
From: Rusty Russell &lt;rusty@au1.ibm.com&gt;

The way it works is that the .mod file contains the name of the module (as
before), but succeeding lines are the constituent parts (assumed to be .c
files, which usually works: if they use MODULE_VERSION in a file for which
this isn't true we'll get a warning).

As we postprocess modules, we look in the .modinfo section for a
"version=", which is placed by the MODULE_VERSION() macro.  This will be of
form "version=&lt;macroarg&gt;" "\0" [24 chars] "\0".  The 24 chars are replaced
by the md4 sum of the .c files and any files they #include using '#include
"file"' which are found in the current directory.  Whitespace is collapsed
outside strings, and comments are ignored for purposes of the sum.

The result is a .modinfo entry such as

	version=1.16ac-rustytest B13E9451C4CA3B89577DEFF



At the kernel summit, various people asked for a MODULE_VERSION macro to
store module strings (for later access through sysfs).  A simple md4 is
needed to identify changes in modules which, inevitably, do not update the
version.  It skips whitespace and comments, and includes #includes which
are in the same dir.

The module versions should be set according to this definition, based on
the RPM one, or CVS Revision tags.  Violators will be shot.

 [&lt;epoch&gt;`:']&lt;version&gt;[`-'&lt;extraversion&gt;]
 &lt;epoch&gt;: A (small) unsigned integer which allows you to start versions
          anew. If not mentioned, it's zero.  eg. "2:1.0" is after
     "1:2.0".
 &lt;version&gt;: The &lt;version&gt; may contain only alphanumerics.
 &lt;extraversion&gt;: Like &lt;version&gt;, but inserted for local
          customizations, eg "rh3" or "rusty1".

Comparison of two versions (assuming same epoch):

Split each into all-digit and all-alphabetical parts.  Compare each one one
at a time: digit parts numerically, alphabetical in ASCII order.  So 0.10
comes after 0.9.
</content>
</entry>
<entry>
<title>kbuild: Fix non-verbose make modules_install output</title>
<updated>2003-02-17T08:21:08Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2003-02-17T08:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=98e9e8541cfa0a26d5f631c5a76f238181e766b0'/>
<id>urn:sha1:98e9e8541cfa0a26d5f631c5a76f238181e766b0</id>
<content type='text'>
</content>
</entry>
</feed>
