patch-2.1.105 linux/drivers/net/hamradio/Makefile

Next file: linux/drivers/net/hamradio/baycom_epp.c
Previous file: linux/drivers/net/hamradio/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.104/linux/drivers/net/hamradio/Makefile linux/drivers/net/hamradio/Makefile
@@ -107,6 +107,16 @@
   endif
 endif
 
+ifeq ($(CONFIG_BAYCOM_EPP),y)
+L_OBJS += baycom_epp.o
+CONFIG_HDLCDRV_BUILTIN = y
+else
+  ifeq ($(CONFIG_BAYCOM_EPP),m)
+  CONFIG_HDLCDRV_MODULE = y
+  M_OBJS += baycom_epp.o
+  endif
+endif
+
 ifeq ($(CONFIG_SOUNDMODEM),y)
 ALL_SUB_DIRS += soundmodem
 SUB_DIRS += soundmodem

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