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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to