patch-2.4.6 linux/net/bluetooth/Makefile

Next file: linux/net/bluetooth/af_bluetooth.c
Previous file: linux/net/bluetooth/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/net/bluetooth/Makefile linux/net/bluetooth/Makefile
@@ -0,0 +1,20 @@
+#
+# Makefile for the Bluetooth subsystem
+#
+O_TARGET	:= bluetooth.o
+
+list-multi	:= hci.o l2cap.o
+export-objs	:= syms.o
+hci-objs	:= af_bluetooth.o hci_core.o hci_sock.o lib.o syms.o
+l2cap-objs	:= l2cap_core.o l2cap_proc.o
+
+obj-$(CONFIG_BLUEZ) += hci.o
+obj-$(CONFIG_BLUEZ_L2CAP) += l2cap.o
+
+include $(TOPDIR)/Rules.make
+
+hci.o: $(hci-objs)
+	$(LD) -r -o $@ $(hci-objs)
+
+l2cap.o: $(l2cap-objs)
+	$(LD) -r -o $@ $(l2cap-objs)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)