mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Kbuild files and backwards compatibility.
@ 2005-03-08 11:19 Ian Campbell
  0 siblings, 0 replies; only message in thread
From: Ian Campbell @ 2005-03-08 11:19 UTC (permalink / raw)
  To: sam; +Cc: lkml

Hi,

Documentation/kbuild/modules.txt suggests using "include Kbuild" in
external modules Makefile to retain backward compatibility with older
(pre separate Kbuild) kernels.

This doesn't appear to be quite correct:
http://www.gossamer-threads.com/lists/ivtv/devel/18285

Using $(src)/Kbuild seems to work, with 2.6.9 at least.

--- 2.6.orig/Documentation/kbuild/modules.txt   2005-03-02 15:59:58.000000000 +0000
+++ 2.6/Documentation/kbuild/modules.txt        2005-03-08 11:16:39.252459179 +0000
@@ -252,7 +252,7 @@

                --> filename: Makefile
                ifneq ($(KERNELRELEASE),)
-               include Kbuild
+               include $(src)/Kbuild
                else
                # Normal Makefile


Cheers,
Ian.


-- 
Ian Campbell
Current Noise: Slayer - Circle Of Beliefs


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-08 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-08 11:19 Kbuild files and backwards compatibility Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®