<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/Makefile.lib, branch v3.9-rc2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.9-rc2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.9-rc2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-02-13T10:12:10Z</updated>
<entry>
<title>kbuild: limit dtc+cpp include path</title>
<updated>2013-02-13T10:12:10Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2013-02-12T22:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e570d7c15a73f88942885881a84257a65fa44c80'/>
<id>urn:sha1:e570d7c15a73f88942885881a84257a65fa44c80</id>
<content type='text'>
Device tree source files may now include header files. The intent is
that those header files define/name constants used as part of the DT
bindings. Currently this feature is open to abuse, since any kernel
header file at all can be included, This could allow device tree files
to become dependant on kernel headers files, and thus make them no
longer OS-independent. This would also prevent separating the device
tree source files from the kernel repository.

Solve this by limiting the cpp include path for device tree files to
separate directories.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>kbuild: create a rule to run the pre-processor on *.dts files</title>
<updated>2013-02-08T14:38:07Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2013-02-05T19:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=22435f38337ef6a8abb33574604e77c335b75d14'/>
<id>urn:sha1:22435f38337ef6a8abb33574604e77c335b75d14</id>
<content type='text'>
Create cmd_dtc_cpp to run the C pre-processor on *.dts file before
passing them to dtc for final compilation. This allows the use of #define
and #include within the .dts file.

Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
Acked-by: Michal Marek &lt;mmarek@suse.cz&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@st.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>kbuild: centralize .dts-&gt;.dtb rule</title>
<updated>2012-11-30T16:52:19Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-11-27T23:29:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=90b335fbbc316b58a0daee8ea792b5aa8903f2ae'/>
<id>urn:sha1:90b335fbbc316b58a0daee8ea792b5aa8903f2ae</id>
<content type='text'>
All architectures that use cmd_dtc do so in almost the same way. Create
a central build rule to avoid duplication. The one difference is that
most current uses of dtc build $(obj)/%.dtb from $(src)/dts/%.dts rather
than building the .dtb in the same directory as the .dts file. This
difference will be eliminated arch-by-arch in future patches.

MIPS is the exception here; it already uses the exact same rule as the
new common rule, so the duplicate is removed in this patch to avoid any
conflict. arch/mips changes courtesy of Ralf Baechle.

Update Documentation/kbuild to remove the explicit call to cmd_dtc from
the example, now that the rule exists in a centralized location.

Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: linux-arm-kernel@lists.infradead.org
Cc: Olof Johansson &lt;olof@lixom.net&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Cc: Jonas Bonn &lt;jonas@southpole.se&gt;
Cc: linux@lists.openrisc.net
Cc: Aurelien Jacquiot &lt;a-jacquiot@ti.com&gt;
Cc: linux-c6x-dev@linux-c6x.org
Cc: Mark Salter &lt;msalter@redhat.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: microblaze-uclinux@itee.uq.edu.au
Cc: Chris Zankel &lt;chris@zankel.net&gt;
Cc: linux-xtensa@linux-xtensa.org
Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
</content>
</entry>
<entry>
<title>Kbuild: centralize MKIMAGE and cmd_uimage definitions</title>
<updated>2012-03-26T13:49:20Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2012-03-16T21:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e33936451484b06b61b259172fa3761a7d1cd4dc'/>
<id>urn:sha1:e33936451484b06b61b259172fa3761a7d1cd4dc</id>
<content type='text'>
All ARCHs have the same definition of MKIMAGE. Move it to Makefile.lib
to avoid duplication.

All ARCHs have similar definitions of cmd_uimage. Place a sufficiently
parameterized version in Makefile.lib to avoid duplication.

Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Nicolas Pitre &lt;nico@linaro.org&gt;
Tested-by: Mike Frysinger &lt;vapier@gentoo.org&gt; [Blackfin]
Tested-by: Michal Simek &lt;monstr@monstr.eu&gt; [Microblaze]
Tested-by: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt; [unicore32]
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Kbuild: Use dtc's -d (dependency) option</title>
<updated>2012-01-14T23:04:35Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-01-09T18:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7c43185138cf523b0810ffd2c9e18e2ecb356730'/>
<id>urn:sha1:7c43185138cf523b0810ffd2c9e18e2ecb356730</id>
<content type='text'>
This hooks dtc into Kbuild's dependency system.

Thus, for example, "make dtbs" will rebuild tegra-harmony.dtb if only
tegra20.dtsi has changed yet tegra-harmony.dts has not. The previous
lack of this feature recently caused me to have very confusing "git
bisect" results.

For ARM, it's obvious what to add to $(targets). I'm not familiar enough
with other architectures to know what to add there. Powerpc appears to
already add various .dtb files into $(targets), but the other archs may
need something added to $(targets) to work.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
[mmarek: Dropped arch/c6x part to avoid merging commits from the middle
of the merge window]
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: Fix comment in Makefile.lib</title>
<updated>2012-01-08T20:54:43Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2012-01-08T20:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5bb0571bfddcdcd3fbf42a58fcce4d0b743fe62f'/>
<id>urn:sha1:5bb0571bfddcdcd3fbf42a58fcce4d0b743fe62f</id>
<content type='text'>
KBUILD_MODNAME is not defined for files that are linked into multiple
modules, and trying to change reality to match documentation would
result in all sorts of trouble. E.g. options for built-in modules would
be called either foo_bar.param, foo.param, or bar.param, depending on
the configuration. So just change the comment.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: prevent make from deleting _shipped files</title>
<updated>2011-08-31T14:35:56Z</updated>
<author>
<name>Peter Foley</name>
<email>pefoley2@verizon.net</email>
</author>
<published>2011-07-31T18:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=58238c81443a83922e07b409e54ec93ce909b6ac'/>
<id>urn:sha1:58238c81443a83922e07b409e54ec93ce909b6ac</id>
<content type='text'>
commit 7373f4f (kbuild: add implicit rules for parser generation)
created a implicit rule chain (%.c: %.c_shipped: %.y).
Make considers the _shipped files to be intermediate files which
causes them to be deleted if they didn't exist before make was run.
Mark the _shipped files PRECIOUS to prevent make from deleting them.

Signed-off-by: Peter Foley &lt;pefoley2@verizon.net&gt;
Acked-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: simplify the %_shipped rule</title>
<updated>2011-06-09T18:04:39Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-06-07T17:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=991d76c950f6c5323c37c33dcebf6b8aec009ff0'/>
<id>urn:sha1:991d76c950f6c5323c37c33dcebf6b8aec009ff0</id>
<content type='text'>
This is needed to have make(1) correctly link the implicit rules which
generate the _shipped file from the lexer/parser to the final file.

Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kbuild: add implicit rules for parser generation</title>
<updated>2011-06-09T18:04:38Z</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2011-05-23T04:04:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7373f4f83c71d50f0aece6d94309ab7fde42180f'/>
<id>urn:sha1:7373f4f83c71d50f0aece6d94309ab7fde42180f</id>
<content type='text'>
Cc: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Arnaud Lacombe &lt;lacombar@gmail.com&gt;
</content>
</entry>
<entry>
<title>kbuild: Call gzip with -n</title>
<updated>2011-04-18T12:24:36Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2011-03-31T13:47:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6ae9ecb86188cc8419024cdb299f18d4ae4f5713'/>
<id>urn:sha1:6ae9ecb86188cc8419024cdb299f18d4ae4f5713</id>
<content type='text'>
The timestamps recorded in the .gz files add no value.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
