<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/Makefile.modpost, branch v2.6.18</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/Makefile.modpost?h=v2.6.18</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/Makefile.modpost?h=v2.6.18'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-08-01T09:32:46Z</updated>
<entry>
<title>kbuild: fix typo in modpost</title>
<updated>2006-08-01T09:32:46Z</updated>
<author>
<name>Dave Jones</name>
<email>davej@redhat.com</email>
</author>
<published>2006-07-13T04:44:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0463f3c7a353e4d082e825f01e2862ca0f7b34ce'/>
<id>urn:sha1:0463f3c7a353e4d082e825f01e2862ca0f7b34ce</id>
<content type='text'>
Reported by a Fedora user when they tried to build some out of tree module..

Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix ia64 breakage after introducing make -rR</title>
<updated>2006-07-01T07:58:02Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-01T07:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5e8d780d745c1619aba81fe7166c5a4b5cad2b84'/>
<id>urn:sha1:5e8d780d745c1619aba81fe7166c5a4b5cad2b84</id>
<content type='text'>
kbuild used $¤(*F to get filename of target without extension.
This was used in several places all over kbuild, but introducing
make -rR broke his for all cases where we specified full path to
target/prerequsite. It is assumed that make -rR disables old style
suffix-rules which is why is suddenly failed.

ia64 was impacted by this change because several div* routines in
arch/ia64/lib are build using explicit paths and then kbuild failed.

Thanks to David Mosberger-Tang &lt;David.Mosberger@acm.org&gt; for an explanation
what was the root-cause and for testing on ia64.

This patch also fixes two uses of $(*F) in arch/um

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>Revert "kbuild: fix make -rR breakage"</title>
<updated>2006-06-26T23:59:26Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-06-26T23:59:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d38b69689c349f35502b92e20dafb30c62d49d63'/>
<id>urn:sha1:d38b69689c349f35502b92e20dafb30c62d49d63</id>
<content type='text'>
This reverts commit e5c44fd88c146755da6941d047de4d97651404a9.

Thanks to Daniel Ritz and Michal Piotrowski for noticing the problem.

Daniel says:

  "[The] reason is a recent change that made modules always shows as
   module.mod.  it breaks modprobe and probably many scripts..besides
   lsmod looking horrible

   stuff like this in modprobe.conf:
        install pcmcia_core /sbin/modprobe --ignore-install pcmcia_core; /sbin/modprobe pcmcia
   makes modprobe fork/exec endlessly calling itself...until oom
   interrupts it"

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix make -rR breakage</title>
<updated>2006-06-24T21:13:59Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-06-24T20:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e5c44fd88c146755da6941d047de4d97651404a9'/>
<id>urn:sha1:e5c44fd88c146755da6941d047de4d97651404a9</id>
<content type='text'>
make failed to supply the filename when using make -rR and using $(*F)
to get target filename without extension.
This bug was not reproduceable in small scale but using:
$(basename $(notdir $@)) fixes it with same functionality.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: fix .config dependencies</title>
<updated>2006-06-09T05:31:30Z</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-06-09T05:12:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c955ccafc38e77312b4c65e5a70960080fb8a3f2'/>
<id>urn:sha1:c955ccafc38e77312b4c65e5a70960080fb8a3f2</id>
<content type='text'>
This fixes one of the worst kbuild warts left - the broken dependencies used
to check and regenerate the .config file.  This was done via an indirect
dependency and the .config itself had an empty command, which can cause make
not to reread the changed .config file.

Instead of this we generate now a new file include/config/auto.conf from
.config, which is used for kbuild and has the proper dependencies.  It's also
the main make target now for all files generated during this step (and thus
replaces include/linux/autoconf.h).

This also means we can now relax the syntax requirements for the .config file
and we don't have to rewrite it all the time, i.e.  silentoldconfig only
writes .config now when it's necessary to keep it in sync with the Kconfig
files and even this can be suppressed by setting the environment variable
KCONFIG_NOSILENTUPDATE, so the update can (and must) be done manually.

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild</title>
<updated>2006-03-25T16:48:48Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-03-25T16:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2e1ca21d46aaef95101723fa402f39d3a95aba59'/>
<id>urn:sha1:2e1ca21d46aaef95101723fa402f39d3a95aba59</id>
<content type='text'>
* master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild: (46 commits)
  kbuild: remove obsoleted scripts/reference_* files
  kbuild: fix make help &amp; make *pkg
  kconfig: fix time ordering of writes to .kconfig.d and include/linux/autoconf.h
  Kconfig: remove the CONFIG_CC_ALIGN_* options
  kbuild: add -fverbose-asm to i386 Makefile
  kbuild: clean-up genksyms
  kbuild: Lindent genksyms.c
  kbuild: fix genksyms build error
  kbuild: in makefile.txt note that Makefile is preferred name for kbuild files
  kbuild: replace PHONY with FORCE
  kbuild: Fix bug in crc symbol generating of kernel and modules
  kbuild: change kbuild to not rely on incorrect GNU make behavior
  kbuild: when warning symbols exported twice now tell user this is the problem
  kbuild: fix make dir/file.xx when asm symlink is missing
  kbuild: in the section mismatch check try harder to find symbols
  kbuild: fix section mismatch check for unwind on IA64
  kbuild: kill false positives from section mismatch warnings for powerpc
  kbuild: kill trailing whitespace in modpost &amp; friends
  kbuild: small update of allnoconfig description
  kbuild: make namespace.pl CROSS_COMPILE happy
  ...

Trivial conflict in arch/ppc/boot/Makefile manually fixed up
</content>
</entry>
<entry>
<title>fix typos "wich" -&gt; "which"</title>
<updated>2006-03-24T17:23:14Z</updated>
<author>
<name>Uwe Zeisberger</name>
<email>zeisberg@informatik.uni-freiburg.de</email>
</author>
<published>2006-03-24T17:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c30fe7f73194650148b58ee80908c1bc38246397'/>
<id>urn:sha1:c30fe7f73194650148b58ee80908c1bc38246397</id>
<content type='text'>
Signed-off-by: Uwe Zeisberger &lt;zeisberg@informatik.uni-freiburg.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>kbuild: change kbuild to not rely on incorrect GNU make behavior</title>
<updated>2006-03-05T23:09:51Z</updated>
<author>
<name>Paul Smith</name>
<email>psmith@gnu.org</email>
</author>
<published>2006-03-05T22:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4f1933620f57145212cdbb1ac6ce099eeeb21c5a'/>
<id>urn:sha1:4f1933620f57145212cdbb1ac6ce099eeeb21c5a</id>
<content type='text'>
The kbuild system takes advantage of an incorrect behavior in GNU make.
Once this behavior is fixed, all files in the kernel rebuild every time,
even if nothing has changed.  This patch ensures kbuild works with both
the incorrect and correct behaviors of GNU make.

For more details on the incorrect behavior, see:

http://lists.gnu.org/archive/html/bug-make/2006-03/msg00003.html

Changes in this patch:
  - Keep all targets that are to be marked .PHONY in a variable, PHONY.
  - Add .PHONY: $(PHONY) to mark them properly.
  - Remove any $(PHONY) files from the $? list when determining whether
    targets are up-to-date or not.

Signed-off-by: Paul Smith &lt;psmith@gnu.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: improved modversioning support for external modules</title>
<updated>2006-02-19T08:51:18Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-01-28T21:15:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=040fcc819a2e7783a570f4bdcdd1f2a7f5f06837'/>
<id>urn:sha1:040fcc819a2e7783a570f4bdcdd1f2a7f5f06837</id>
<content type='text'>
With following patch a second option is enabled to obtain
symbol information from a second external module when a
external module is build.
The recommended approach is to use a common kbuild file but
that may be impractical in certain cases.
With this patch one can copy over a Module.symvers from one
external module to make symbols (and symbol versions) available
for another external module.

Updated documentation in Documentation/kbuild/modules.txt

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>spelling: s/retreive/retrieve/</title>
<updated>2006-01-09T23:10:13Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2006-01-09T23:10:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=943ffb587cfdf3b2adfe52a6db08573f4ecf3284'/>
<id>urn:sha1:943ffb587cfdf3b2adfe52a6db08573f4ecf3284</id>
<content type='text'>
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
</feed>
