patch-2.4.0-prerelease linux/drivers/media/Makefile

Next file: linux/drivers/media/radio/Makefile
Previous file: linux/drivers/md/raid5.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/media/Makefile linux/drivers/media/Makefile
@@ -9,13 +9,10 @@
 # parent makes..
 #
 
-MEDIAS = $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
-
-SUB_DIRS     := video radio
-MOD_SUB_DIRS := $(SUB_DIRS)
-ALL_SUB_DIRS := $(SUB_DIRS)
+subdir-y     := video radio
+mod-subdirs  := video radio
 
 O_TARGET     := media.o
-O_OBJS       := $(MEDIAS)
+obj-y        := $(join $(subdir-y),$(subdir-y:%=/%.o))
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)