Skip to contentSkip to conversation

Kbuild files and backwards compatibility.

PATCH Ian Campbell 1 participant 1 message Mar 8, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

Documentation/kbuild/modules.txt 2005-03-08 11:16:39.252459179 +0000 renamed from Documentation/kbuild/modules.txt 2005-03-02 15:59:58.000000000 +0000 +1 -1
@@ -252,7 +252,7 @@
 
                --> filename: Makefile
                ifneq ($(KERNELRELEASE),)
-               include Kbuild
+               include $(src)/Kbuild
                else
                # Normal Makefile
 

Cheers,
Ian.

Signature · 2 lines
Ian Campbell
Current Noise: Slayer - Circle Of Beliefs