patch-2.1.34 linux/drivers/sbus/char/Makefile

Next file: linux/drivers/sbus/char/bwtwo.c
Previous file: linux/drivers/sbus/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/drivers/sbus/char/Makefile linux/drivers/sbus/char/Makefile
@@ -73,5 +73,15 @@
   endif
 endif
 
+ifeq ($(CONFIG_SUN_VIDEOPIX),y)
+O_OBJS += vfc.o
+else
+  ifeq ($(CONFIG_SUN_VIDEOPIX),m)
+  M_OBJS += vfc.o
+  endif
+endif
+
 include $(TOPDIR)/Rules.make
 
+vfc.o: vfc_dev.o vfc_i2c.o
+	$(LD) -r -o vfc.o vfc_dev.o vfc_i2c.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov