<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/Kbuild.include, branch v2.6.24</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.24</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.24'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2007-10-19T19:46:01Z</updated>
<entry>
<title>kbuild: introduce cc-cross-prefix</title>
<updated>2007-10-19T19:46:01Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@neptun.(none)</email>
</author>
<published>2007-10-19T19:46:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=910b40468a9ce3f2f5d48c5d260329c27d45adb5'/>
<id>urn:sha1:910b40468a9ce3f2f5d48c5d260329c27d45adb5</id>
<content type='text'>
cc-cross-prefix is useful for the architecture that like
to provide a default CROSS_COMPILE value,
but may have several to select between.

Sample usage:

ifneq ($(SUBARCH),$(ARCH))
        ifeq ($(CROSS_COMPILE),)
               CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
        endif
endif

Actual usage by the different archs will taken care of later.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: enable 'make AFLAGS=...' to add additional options to AS</title>
<updated>2007-10-15T19:59:31Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@neptun.(none)</email>
</author>
<published>2007-10-15T19:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=222d394d30e74bb7a2a65029fcea68107b0d0eb6'/>
<id>urn:sha1:222d394d30e74bb7a2a65029fcea68107b0d0eb6</id>
<content type='text'>
The variable AFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.

This patch replace use of AFLAGS with KBUILD_AFLAGS all over
the tree.

Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: enable 'make CFLAGS=...' to add additional options to CC</title>
<updated>2007-10-14T20:21:35Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@neptun.(none)</email>
</author>
<published>2007-10-14T20:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a0f97e06a43cf524e616f09e6af3398e1e9c1c5b'/>
<id>urn:sha1:a0f97e06a43cf524e616f09e6af3398e1e9c1c5b</id>
<content type='text'>
The variable CFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.

This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
tree and enabling one to use:
make CFLAGS=...
to specify additional gcc commandline options.

One usecase is when trying to find gcc bugs but other
use cases has been requested too.

Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k

Test was simple to do a defconfig build, apply the patch and check
that nothing got rebuild.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: New 'cc-fullversion' macro</title>
<updated>2007-07-16T19:15:47Z</updated>
<author>
<name>Segher Boessenkool</name>
<email>segher@kernel.crashing.org</email>
</author>
<published>2007-05-19T16:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0ab2a272e6b55e5d58168d6983da99e2dc09b8b2'/>
<id>urn:sha1:0ab2a272e6b55e5d58168d6983da99e2dc09b8b2</id>
<content type='text'>
Prints a six-digit string including the GCC patchlevel.  Also fix
the 'usage' comment for cc-version.

Signed-off-by: Segher Boessenkool &lt;segher@kernel.crashing.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: more Makefile cleanups</title>
<updated>2007-02-09T18:12:20Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2007-02-08T21:48:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=beda9f3a13bbb22cde92a45f230a02ef2afef6a9'/>
<id>urn:sha1:beda9f3a13bbb22cde92a45f230a02ef2afef6a9</id>
<content type='text'>
This adds the remaining changes which should have been part of the
review process.

 - the define command is inappropriate (it's primarily for rule
   definitions)
 - execute commands in the current dir as all other commands
 - .*.tmp (but not .*.null) files are also removed up by "make clean"
 - printf has other side effects, just use "echo -e"
 - proper quoting
 - proper indentation

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix space for good (take 103)</title>
<updated>2007-02-08T16:16:44Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-02-08T16:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b892afd1e60132a981b963929e352eabf3306ba2'/>
<id>urn:sha1:b892afd1e60132a981b963929e352eabf3306ba2</id>
<content type='text'>
Michal Ostrowski points out what the real problem was: the spaces at the
start of the definition of the 'checker-shell' make function.

Cc: Michal Ostrowski &lt;mostrows@watson.ibm.com&gt;
Acked-by: David Miller &lt;davem@davemloft.net&gt;
Acked-by: Geert Uytterhoeven &lt;Geert.Uytterhoeven@sonycom.com&gt;
Acked-by: Oleg Verych &lt;olecom@flower.upol.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kbuild: make $(checker-shell ) strip spaces around the result</title>
<updated>2007-02-08T04:24:25Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-02-08T04:24:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c4184f117af7441fb83bc413d2214d92920e0289'/>
<id>urn:sha1:c4184f117af7441fb83bc413d2214d92920e0289</id>
<content type='text'>
It looks like GNU make version 3.80 (but apparently not 3.81) adds
leading whitespace to the result of the checker-shell execution.  This
strips them off explicitly.

Also, don't bother symlinking the output file to /dev/null.  It's likely
as expensive as just writing the temp-file, and we need to remove it
anyway afterwards.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild, Kbuild.include: avoid using spaces in call arguments</title>
<updated>2007-02-07T23:32:26Z</updated>
<author>
<name>Oleg Verych</name>
<email>olecom@flower.upol.cz</email>
</author>
<published>2007-02-07T22:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bff288c19e8b6217ddd660d4fa42c29a0ab1d58c'/>
<id>urn:sha1:bff288c19e8b6217ddd660d4fa42c29a0ab1d58c</id>
<content type='text'>
Do not use whitespace in arguments of functions in makefiles, as they
propagate further without notice.  Thus we get

  + echo ' y'

  instead of

  + echo y

Fix misleading comments.

Signed-off-by: Oleg Verych &lt;olecom@flower.upol.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: improve option checking, Kbuild.include cleanup</title>
<updated>2007-02-06T22:30:49Z</updated>
<author>
<name>Oleg Verych</name>
<email>olecom@flower.upol.cz</email>
</author>
<published>2007-02-06T01:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5de043f4bd11a9e0a3e8daec7d1905da575a76b7'/>
<id>urn:sha1:5de043f4bd11a9e0a3e8daec7d1905da575a76b7</id>
<content type='text'>
 GNU binutils, root users, tmpfiles, external modules ro builds must
 be fixed to do the right thing now.

Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Horst Schirmeier &lt;horst@schirmeier.com&gt;
Cc: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Daniel Drake &lt;dsd@gentoo.org&gt;
Cc: Andi Kleen &lt;ak@suse.de&gt;
Cc: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Oleg Verych &lt;olecom@flower.upol.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: don't put temp files in source</title>
<updated>2006-12-10T17:55:39Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-12-10T10:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=347a00fb4ad2200f8f8331f8b366b1d84eff577d'/>
<id>urn:sha1:347a00fb4ad2200f8f8331f8b366b1d84eff577d</id>
<content type='text'>
The as-instr/ld-option need to create temporary files, but create them in the
output directory, when compiling external modules.  Reformat them a bit and
use $(CC) instead of $(AS) as the former is used by kbuild to assemble files.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Andi Kleen &lt;ak@suse.de&gt;
Cc: Jan Beulich &lt;jbeulich@novell.com&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: &lt;jpdenheijer@gmail.com&gt;
Cc: Horst Schirmeier &lt;horst@schirmeier.com&gt;
Cc: Daniel Drake &lt;dsd@gentoo.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
