1# 2# Makefile for the Linux Bluetooth HCI device drivers 3# 4 5O_TARGET := bluetooth.o 6 7list-multi := hci_uart.o 8 9obj-$(CONFIG_BLUEZ_HCIUSB) += hci_usb.o 10obj-$(CONFIG_BLUEZ_HCIVHCI) += hci_vhci.o 11 12obj-$(CONFIG_BLUEZ_HCIUART) += hci_uart.o 13uart-y := hci_ldisc.o 14uart-$(CONFIG_BLUEZ_HCIUART_H4) += hci_h4.o 15uart-$(CONFIG_BLUEZ_HCIUART_BCSP) += hci_bcsp.o 16 17obj-$(CONFIG_BLUEZ_HCIBFUSB) += bfusb.o 18 19obj-$(CONFIG_BLUEZ_HCIDTL1) += dtl1_cs.o 20obj-$(CONFIG_BLUEZ_HCIBT3C) += bt3c_cs.o 21obj-$(CONFIG_BLUEZ_HCIBLUECARD) += bluecard_cs.o 22obj-$(CONFIG_BLUEZ_HCIBTUART) += btuart_cs.o 23 24include $(TOPDIR)/Rules.make 25 26hci_uart.o: $(uart-y) 27 $(LD) -r -o $@ $(uart-y) 28