Skip to contentSkip to conversation

ATM LANE modular build

PATCH New Jan Rekorajski 1 participant 1 message Jan 1, 2001

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ATM LANE modular build

Hi,
Due to latest Makefile changes ATM LANE won't build as module. The following patch fixes it.

net/atm/Makefile renamed from net/atm/Makefile.orig +7 -1
@@ -33,7 +33,13 @@
 obj-y += proc.o
 endif
 
-obj-$(CONFIG_ATM_LANE) += lec.o lane_mpoa_init.o
+ifneq ($(CONFIG_ATM_LANE),n)
+ifneq ($(CONFIG_ATM_LANE),)
+obj-y += lane_mpoa_init.o
+endif
+endif
+
+obj-$(CONFIG_ATM_LANE) += lec.o
 obj-$(CONFIG_ATM_MPOA) += mpoa.o
 
 include $(TOPDIR)/Rules.make

Jan

Signature · 7 lines
Jan Rękorajski            |  ALL SUSPECTS ARE GUILTY. PERIOD!
baggins<at>mimuw.edu.pl   |  OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
BOFH, MANIAC              |                   -- TROOPS by Kevin Rubio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/