patch-2.1.67 linux/drivers/block/Makefile

Next file: linux/drivers/block/nbd.c
Previous file: linux/drivers/block/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/drivers/block/Makefile linux/drivers/block/Makefile
@@ -218,4 +218,12 @@
 
 endif
 
+ifeq ($(CONFIG_BLK_DEV_NBD),y)
+L_OBJS += nbd.o
+else
+  ifeq ($(CONFIG_BLK_DEV_NBD),m)
+  M_OBJS += nbd.o
+  endif
+endif
+
 include $(TOPDIR)/Rules.make

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