Skip to contentSkip to conversation

Make drivers/media compile as modules

PATCH New Udo A. Steinberg 1 participant 1 message Dec 21, 2000 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

usr/src/linux/drivers/media/Makefile Thu Dec 21 08:15:55 2000 renamed from sources/linux/drivers/media/Makefile Thu Dec 21 08:17:17 2000 +2 -0
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/