Commit db7b556b authored by Linus Torvalds's avatar Linus Torvalds

Merge http://linux-isdn.bkbits.net/linux-2.5.make

into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents 5fc1d9f6 6eff9c0d
...@@ -19,7 +19,6 @@ unexport SUB_DIRS ...@@ -19,7 +19,6 @@ unexport SUB_DIRS
unexport ALL_SUB_DIRS unexport ALL_SUB_DIRS
unexport MOD_SUB_DIRS unexport MOD_SUB_DIRS
unexport O_TARGET unexport O_TARGET
unexport ALL_MOBJS
unexport obj-y unexport obj-y
unexport obj-m unexport obj-m
...@@ -33,6 +32,12 @@ unexport subdir- ...@@ -33,6 +32,12 @@ unexport subdir-
comma := , comma := ,
#
# When an object is listed to be built compiled-in and modular,
# only build the compiled-in version
#
obj-m := $(filter-out $(obj-y),$(obj-m))
# #
# Get things started. # Get things started.
# #
...@@ -182,8 +187,7 @@ endif ...@@ -182,8 +187,7 @@ endif
# #
# A rule to make modules # A rule to make modules
# #
ALL_MOBJS = $(filter-out $(obj-y), $(obj-m)) ifneq "$(strip $(obj-m))" ""
ifneq "$(strip $(ALL_MOBJS))" ""
MOD_DESTDIR := $(shell $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh) MOD_DESTDIR := $(shell $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
endif endif
...@@ -200,14 +204,14 @@ $(patsubst %,_modinst_%,$(MOD_DIRS)) : dummy ...@@ -200,14 +204,14 @@ $(patsubst %,_modinst_%,$(MOD_DIRS)) : dummy
endif endif
.PHONY: modules .PHONY: modules
modules: $(ALL_MOBJS) dummy \ modules: $(obj-m) dummy \
$(patsubst %,_modsubdir_%,$(MOD_DIRS)) $(patsubst %,_modsubdir_%,$(MOD_DIRS))
.PHONY: _modinst__ .PHONY: _modinst__
_modinst__: dummy _modinst__: dummy
ifneq "$(strip $(ALL_MOBJS))" "" ifneq "$(strip $(obj-m))" ""
mkdir -p $(MODLIB)/kernel/$(MOD_DESTDIR) mkdir -p $(MODLIB)/kernel/$(MOD_DESTDIR)
cp $(ALL_MOBJS) $(MODLIB)/kernel/$(MOD_DESTDIR) cp $(obj-m) $(MODLIB)/kernel/$(MOD_DESTDIR)
endif endif
.PHONY: modules_install .PHONY: modules_install
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
O_TARGET := ircomm_and_tty.o O_TARGET := ircomm_and_tty.o
export-objs := ircomm_core.o
ircomm-objs := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o ircomm-objs := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o
ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o
......
...@@ -134,6 +134,8 @@ struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line) ...@@ -134,6 +134,8 @@ struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line)
return self; return self;
} }
EXPORT_SYMBOL(ircomm_open);
/* /*
* Function ircomm_close_instance (self) * Function ircomm_close_instance (self)
* *
...@@ -187,6 +189,8 @@ int ircomm_close(struct ircomm_cb *self) ...@@ -187,6 +189,8 @@ int ircomm_close(struct ircomm_cb *self)
return __ircomm_close(self); return __ircomm_close(self);
} }
EXPORT_SYMBOL(ircomm_close);
/* /*
* Function ircomm_connect_request (self, service_type) * Function ircomm_connect_request (self, service_type)
* *
...@@ -217,6 +221,8 @@ int ircomm_connect_request(struct ircomm_cb *self, __u8 dlsap_sel, ...@@ -217,6 +221,8 @@ int ircomm_connect_request(struct ircomm_cb *self, __u8 dlsap_sel,
return ret; return ret;
} }
EXPORT_SYMBOL(ircomm_connect_request);
/* /*
* Function ircomm_connect_indication (self, qos, skb) * Function ircomm_connect_indication (self, qos, skb)
* *
...@@ -269,6 +275,8 @@ int ircomm_connect_response(struct ircomm_cb *self, struct sk_buff *userdata) ...@@ -269,6 +275,8 @@ int ircomm_connect_response(struct ircomm_cb *self, struct sk_buff *userdata)
return ret; return ret;
} }
EXPORT_SYMBOL(ircomm_connect_response);
/* /*
* Function connect_confirm (self, skb) * Function connect_confirm (self, skb)
* *
...@@ -312,6 +320,8 @@ int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb) ...@@ -312,6 +320,8 @@ int ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb)
return ret; return ret;
} }
EXPORT_SYMBOL(ircomm_data_request);
/* /*
* Function ircomm_data_indication (self, skb) * Function ircomm_data_indication (self, skb)
* *
...@@ -387,6 +397,8 @@ int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb) ...@@ -387,6 +397,8 @@ int ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb)
return ret; return ret;
} }
EXPORT_SYMBOL(ircomm_control_request);
/* /*
* Function ircomm_control_indication (self, skb) * Function ircomm_control_indication (self, skb)
* *
...@@ -438,6 +450,8 @@ int ircomm_disconnect_request(struct ircomm_cb *self, struct sk_buff *userdata) ...@@ -438,6 +450,8 @@ int ircomm_disconnect_request(struct ircomm_cb *self, struct sk_buff *userdata)
return ret; return ret;
} }
EXPORT_SYMBOL(ircomm_disconnect_request);
/* /*
* Function disconnect_indication (self, skb) * Function disconnect_indication (self, skb)
* *
...@@ -479,6 +493,8 @@ void ircomm_flow_request(struct ircomm_cb *self, LOCAL_FLOW flow) ...@@ -479,6 +493,8 @@ void ircomm_flow_request(struct ircomm_cb *self, LOCAL_FLOW flow)
irttp_flow_request(self->tsap, flow); irttp_flow_request(self->tsap, flow);
} }
EXPORT_SYMBOL(ircomm_flow_request);
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
/* /*
* Function ircomm_proc_read (buf, start, offset, len, unused) * Function ircomm_proc_read (buf, start, offset, len, unused)
...@@ -542,4 +558,3 @@ void cleanup_module(void) ...@@ -542,4 +558,3 @@ void cleanup_module(void)
ircomm_cleanup(); ircomm_cleanup();
} }
#endif /* MODULE */ #endif /* MODULE */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment