]> rtime.felk.cvut.cz Git - mirosot.git/blob - bluetooth/Makefile.omk
Disabled building of bluetooth by default
[mirosot.git] / bluetooth / Makefile.omk
1 # -*- makefile -*-
2
3 default_CONFIG += CONFIG_BLUETOOTH=n
4 default_CONFIG += CONFIG_BLUETOOTH_LINUX=n
5
6 ifeq (y,$(if $(filter y,$(CONFIG_BLUETOOTH) $(CONFIG_BLUETOOTH_LINUX)),y,n))
7
8 lib_LIBRARIES = mirobt
9
10 mirobt_SOURCES = bth_command.c bth_event_acc.c bth_error.c \
11 bth_cmd_complete_ev.c l2cap.c bth_inface.c bth_main.c 
12
13 ifeq ($(CONFIG_BLUETOOTH_LINUX),y)
14 mirobt_SOURCES += hci_bluez.c fake_pkt_controll.c
15 else
16 mirobt_SOURCES += hci_sci.c h2638_pkt_controll.c
17 endif
18 include_HEADERS = bth_inface.h bth_fce_out.h bth_h8s2638.h
19
20 config_include_HEADERS = bth_config.h
21 bth_config_DEFINES = $(default_CONFIG)
22
23 endif