patch-2.1.71 linux/drivers/Makefile
Next file: linux/drivers/ap1000/ddv.c
Previous file: linux/arch/ppc/config.in
Back to the patch index
Back to the overall index
-  Lines: 15
-  Date:
Wed Dec  3 15:17:30 1997
-  Orig file: 
v2.1.70/linux/drivers/Makefile
-  Orig date: 
Mon Aug 18 18:19:45 1997
diff -u --recursive --new-file v2.1.70/linux/drivers/Makefile linux/drivers/Makefile
@@ -71,4 +71,14 @@
 ALL_SUB_DIRS += ap1000
 endif
 
+# make will try to add $(MOD_SUB_DIRS).o to modules/MOD_LIST_NAME 
+# when MOD_LIST_NAME is set. We don't have hamradio.o and Linus
+# sort-of insisted on making hamradio a subdirectory to drivers/net.
+#
+
+ifeq ($(CONFIG_HAMRADIO),y)
+  SUB_DIRS += net/hamradio
+  MOD_SUB_DIRS += net/hamradio
+endif
+
 include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov