2000-12-21 07:53:58

by Udo A. Steinberg

[permalink] [raw]
Subject: [PATCH] Make drivers/media compile as modules


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