<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/Makefile, 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>2004-08-10T23:42:56Z</updated>
<entry>
<title>kbuild: Replace host-progs with hostprogs-y</title>
<updated>2004-08-10T23:42:56Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-10T23:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ff08974850158f4c4d815840f7c3e82a4aa12c34'/>
<id>urn:sha1:ff08974850158f4c4d815840f7c3e82a4aa12c34</id>
<content type='text'>
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Selective compile of targets in scripts/</title>
<updated>2004-08-08T23:01:05Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-08-08T23:01:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=64fc2d35e0007be88f7ee1e3fb6fece74ec8bde1'/>
<id>urn:sha1:64fc2d35e0007be88f7ee1e3fb6fece74ec8bde1</id>
<content type='text'>
Do not build executables unless needed.
Same goes for scripts/mod/, descend only when CONFIG_MODULES are enabled.
With inputs form: Russell King &lt;rmk+lkml@arm.linux.org.uk&gt; and  Brian Gerst &lt;bgerst@quark.didntduck.org&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Fix up moving of modpost</title>
<updated>2004-07-23T03:28:19Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-07-23T03:28:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8ecf9f0b495892592f3551fca7a60d99241e064e'/>
<id>urn:sha1:8ecf9f0b495892592f3551fca7a60d99241e064e</id>
<content type='text'>
A few small issues to fix the moving of modpost.
A few files was missing in the commit and one change needed.
Also bk ignored the files in their new location.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Move modpost files to a new subdir scripts/mod</title>
<updated>2004-07-23T02:59:36Z</updated>
<author>
<name>Brian Gerst</name>
<email>bgerst@didntduck.org</email>
</author>
<published>2004-07-23T02:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=462c50d7958a8c0add9a8d6c061e24429ebbe1c1'/>
<id>urn:sha1:462c50d7958a8c0add9a8d6c061e24429ebbe1c1</id>
<content type='text'>
Move modpost and support files to scripts/mod.
Directory named mod by Sam.

From: Brian Gerst &lt;bgerst@didntduck.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: add deb-pkg target</title>
<updated>2004-06-20T13:46:32Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2004-06-20T13:46:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6474b7f6e308d089ad0d17d20e444b99663a9b75'/>
<id>urn:sha1:6474b7f6e308d089ad0d17d20e444b99663a9b75</id>
<content type='text'>
To prepare kbuild for more kernel packaging formats move all packaging support
to scripts/package.

In top-level Makefile introduce generic support for all package formats using
target names *-pkg.  Included the old rpm target for backward compatibility.

A new variable KBUILD_IMAGE is used to specify what kernel image will be part
of the final package, and is to be set by the arch specific makefile.
KBUILD_IMAGE may be overridden from command line or environment.  KBUILD_IMAGE
will see wider usage later, mainly when installing kernel images.

Introducing KBUILD_IMAGE allowed arch specific details to be deleted from the
mkspec and builddeb scripts.

While in the process added the deb packet format.  Script is From: Wichert
Akkerman &lt;wichert@wiggy.net&gt;

To create a RPM packet use 'make rpm-pkg'.
To create a deb packet use 'make deb-pkg'.
Both targets are included in 'make help'

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
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] Fix early parallel make failures</title>
<updated>2004-03-15T23:15:05Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2004-03-15T23:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=952a0ae394f450c878aa2e408c23236896a2efac'/>
<id>urn:sha1:952a0ae394f450c878aa2e408c23236896a2efac</id>
<content type='text'>
From: Sam Ravnborg &lt;sam@ravnborg.org&gt;

Ingo said:

  Starting at around 2.6.4-rc2-mm1, I keep seeing 'scripts/fixdep: Text
  file busy' messages when doing a -j10 bzImage build - which seems to
  suggest that by the time fixdep is used by the build system it's not
  built yet.

Sam said:

I was pretty sure it was something I had caused, so I gave it a spin.  What
actually happened was that we tried to build the target 'silentoldconfig'
in parrallel with 'scripts'.  Since 'silentoldconfig' started a new make
and then the config target needed 'scripts' we saw two parallel runs.

The way I decided to fix it was to split scripts/ in two parts.  The first
part is now the very basic stuff - moved to scripts/basic/.  The second
part is dependent on kernel config etc.  and kept in scripts/

In the 2.7 timeframe i will redo this initial stuff - it's becoming too
messy for anyone to understand today.


Description:

Fix dependencies in early phases of kernel build.  This solves a few
problems nively: modpost is no longer rebuild twicewhen reaching the
'target' state 'make -j10' now works nicely again

The patch is rather large due to the following file moves:
mkdir scripts/basic
mv scripts/fixdep.c        scripts/basic
mv scripts/split-include.c scripts/basic
mv scripts/docproc.c       scripts/basic
</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>[PATCH] Move ikconfig to /proc/config.gz</title>
<updated>2003-09-09T17:19:11Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2003-09-09T17:19:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f261ecb2f4e62a0d02925a4e549a2fe5dad503d8'/>
<id>urn:sha1:f261ecb2f4e62a0d02925a4e549a2fe5dad503d8</id>
<content type='text'>
From: "Randy.Dunlap" &lt;randy.dunlap@verizon.net&gt;


The SuSE kernels place their ikconfig info at /proc/config.gz: in a
different place, and compressed.  We thought it was a good idea to do it
that way in 2.6 as well.

- gzip the /proc config file, put it in /proc/config.gz;

- Based on a SuSE patch by Oliver Xymoron &lt;oxymoron@waste.org&gt;, which was
  derived from a patch by Nicholas Leon &lt;nicholas@binary9.net&gt;

- change /proc/ikconfig/built_with to /proc/config_build_info;

- cleanup ikconfig init/exit entry points (static, __init, __exit);

- Makefile help from Sam Ravnborg;

DESC
ikconfig cleanup
EDESC
From: Stephen Hemminger &lt;shemminger@osdl.org&gt;

Simplify and cleanup the code:
	- use single interface to seq_file where possible
	- don't need to do as much of the /proc interface, only read
	- use copy_to_user to avoid char at a time copy
	- remove unneccesary globals
	- use const char[] rather than const char * where possible.

Didn't change the version since interface doesn't change.
</content>
</entry>
<entry>
<title>[FBDEV] Ug!!! For some reason BK keeps removing this change. I hope this is the last time I have to add it.</title>
<updated>2003-03-18T02:20:08Z</updated>
<author>
<name>James Simmons</name>
<email>jsimmons@maxwell.earthlink.net</email>
</author>
<published>2003-03-18T02:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9460797a05cdec36694ea6f81c8b2d35268e45cf'/>
<id>urn:sha1:9460797a05cdec36694ea6f81c8b2d35268e45cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kbuild: build-targets replaced with always</title>
<updated>2003-03-10T23:03:40Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2003-03-10T23:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=87b2da2b95644551d44dce487b818155bd4b0f9c'/>
<id>urn:sha1:87b2da2b95644551d44dce487b818155bd4b0f9c</id>
<content type='text'>
The former name "kbuild-targets" did not give the user the intuitive feeling
that this target will be build regards less of any dependencies
no matter if we compile modules or not.
The new name "always" imply that this will be build always, and
tus is more informative.
Fixed the few users of build-targets, and added a warning in Makefile.build
</content>
</entry>
</feed>
