[PATCH] Make drivers/media compile as modules

From: Udo A. Steinberg (sorisor@Hell.WH8.TU-Dresden.De)
Date: Thu Dec 21 2000 - 02:23:02 EST


Hi Linus,

The Makefile changes broke compiling drivers/media, such as bttv,
as kernel modules. Below is the patch against test13-pre3 to fix it.

Please apply.

-Udo.

--- /sources/linux/drivers/media/Makefile Thu Dec 21 08:17:17 2000
+++ /usr/src/linux/drivers/media/Makefile Thu Dec 21 08:15:55 2000
@@ -10,8 +10,10 @@
 #
 
 subdir-y := video radio
+subdir-m := video radio
 
 O_TARGET := media.o
 obj-y := $(join $(subdir-y),$(subdir-y:%=/%.o))
+obj-m := $(join $(subdir-m),$(subdir-m:%=/%.o))
 
 include $(TOPDIR)/Rules.make
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:28 EST