[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][ATM] make atm (and clip) modular + try_module_get()
In message <>,K
ai Germaschewski writes:
>Not terribly important, but you can write this as:
>obj-$(CONFIG_ATM) += atm.o
>atm-y += addr.o pvc.o signaling.o svc.o ...
>atm-$(CONFIG_PROC_FS) += proc.o

after looking at some other examples, i guess i like this even better:

ipcommon-obj-$(subst m,y,$(CONFIG_ATM_CLIP)) := ipcommon.o
ipcommon-obj-$(subst m,y,$(CONFIG_NET_SCH_ATM)) := ipcommon.o

atm-objs := addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o $(ipcommon-obj-y)

obj-$(CONFIG_ATM) += atm.o
atm-$(CONFIG_PROC_FS) += proc.o
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.071 / U:5.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site