<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/Makefile.build, branch v2.6.16.5</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.5</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.5'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-01-06T21:35:59Z</updated>
<entry>
<title>kbuild: introduce escsq to escapre single quotes</title>
<updated>2006-01-06T21:35:59Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-01-06T21:35:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d51bfb7852d0e524074ad1cf04e4c3026d75d652'/>
<id>urn:sha1:d51bfb7852d0e524074ad1cf04e4c3026d75d652</id>
<content type='text'>
This makes things a little bit more reader friendly and gvim is less
confused.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix building external modules</title>
<updated>2005-07-27T20:11:01Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.(none)</email>
</author>
<published>2005-07-27T20:11:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=db8c1a7b2ca25f37b1429c00e82d6568f86caec1'/>
<id>urn:sha1:db8c1a7b2ca25f37b1429c00e82d6568f86caec1</id>
<content type='text'>
kbuild failed to locate Makefile for external modules.
This brought to my attention how the variables for directories
have different values in different usage scenarios.

Different kbuild usage scenarios:
make       - plain make in same directory where kernel source lives
make O=    - kbuild is told to store output files in another directory
make M=    - building an external module
make O= M= - building an external module with kernel output seperate from src

Value assigned to the different variables:

           |$(src)          |$(obj) |$(srctree)        |$(objtree)
make       |reldir to k src |as src |abs path to k src |abs path to k src
make O=    |reldir to k src |as src |abs path to k src |abs path to output dir
make M=    |abs path to src |as src |abs path to k src |abs path to k src
make O= M= |abs path to src |as src |abs path to k src |abs path to k output

path to kbuild file:

make       | $(srctree)/$(src), $(src)
make O=    | $(srctree)/$(src)
make M=    | $(src)
make O= M= | $(src)

From the table above it can be seen that the only good way to find the
home directory of the kbuild file is to locate the one of the two variants
that is an absolute path. If $(src) is an absolute path (starts with /)
then use it, otherwise prefix $(src) with $(srctree).

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix make O=...</title>
<updated>2005-07-25T20:26:04Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.(none)</email>
</author>
<published>2005-07-25T20:26:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2a691470345a0024dd7ffaf47ad3d0f5f4f41924'/>
<id>urn:sha1:2a691470345a0024dd7ffaf47ad3d0f5f4f41924</id>
<content type='text'>
kbuild failed to locate Kbuild.include.
Teach kbuild how to find Kbuild files when using make O=...

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: Fix build as root then user</title>
<updated>2005-07-14T20:12:40Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.(none)</email>
</author>
<published>2005-07-14T20:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cfca82f2179dd1aee84a5bf3b14710e4d7487aed'/>
<id>urn:sha1:cfca82f2179dd1aee84a5bf3b14710e4d7487aed</id>
<content type='text'>
From: Matthew Wilcox &lt;matthew@wil.cx&gt;
I inadvertently built a tree as root and then rebuilt it as a user.  I
got a lot of prompts ...

mv: overwrite `drivers/char/drm/drm_auth.o', overriding mode 0644?

Using mv -f fixes that.

Signed-off-by: Matthew Wilcox &lt;matthew@wil.cx&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] apply quotation handling to Makefile.build</title>
<updated>2005-06-23T16:45:28Z</updated>
<author>
<name>Jan Beulich</name>
<email>JBeulich@novell.com</email>
</author>
<published>2005-06-23T07:10:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8476994af7bd9352ecdf61ba760f7397f54e30a1'/>
<id>urn:sha1:8476994af7bd9352ecdf61ba760f7397f54e30a1</id>
<content type='text'>
Adding quotation handling to rule_cc_o_c in scripts/Makefile.build as used
elsewhere.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&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>kbuild: Use -isystem `gcc --print-file-name=include`</title>
<updated>2004-12-29T01:15:39Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-12-29T01:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c97a20fb5b9e2f7e518d689e618971969f1df5cd'/>
<id>urn:sha1:c97a20fb5b9e2f7e518d689e618971969f1df5cd</id>
<content type='text'>
Using "-nostdinc -isystem `gcc --print-file-name=include" let
us see full path to compiler specific files when compiling with make V=1
Furthermore it lets us use same definition for sparse (CHECKFLAGS) and the kernel.
Tested with gcc 3.3.4 only.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>Merge mars.ravnborg.org:/home/sam/bk/linux-2.6</title>
<updated>2004-11-04T00:40:52Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-11-04T00:40:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=78c72fc2b44a399eae6535feb582176c0b47b8a3'/>
<id>urn:sha1:78c72fc2b44a399eae6535feb582176c0b47b8a3</id>
<content type='text'>
into mars.ravnborg.org:/home/sam/bk/to-akpm
</content>
</entry>
<entry>
<title>kbuild: Prefer Kbuild as name of the kbuild files</title>
<updated>2004-11-03T22:40:43Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2004-11-03T22:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ecfddb4651553fb68e00a80e860364b441571d98'/>
<id>urn:sha1:ecfddb4651553fb68e00a80e860364b441571d98</id>
<content type='text'>
The kbuild syntax is unique and does only have very few things in common with
usual Makefile syntax. So to avoid confusion make the filename 'Kbuild' be
the preferred name as replacement for 'Makefile'.
No global renaming planned to take place for now, but new stuff expected to use
the new 'Kbuild' filename.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>Make sparse pick up the gcc internal include directory automatically.</title>
<updated>2004-10-31T04:58:51Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2004-10-31T04:58:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3ca0b5ee03dcbe55733f1624c7d84140b255d94a'/>
<id>urn:sha1:3ca0b5ee03dcbe55733f1624c7d84140b255d94a</id>
<content type='text'>
m68k used to do this by hand, but it really ends up being needed
for any environment that does cross-builds, so just do it
unconditionally.

This should mean that you never need to cross-build sparse or
have any other hacks for checking a cross-built environment.
</content>
</entry>
</feed>
