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

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, [email protected]
TCL-scripts by Sam Shen, [email protected]