blob: 7da64b5c8e6b289b3b62ee5676401c5bb9bbd82c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
require bluez-utils.inc
DEPENDS += "glib-2.0"
SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
file://hcid.conf \
file://02dtl1_cs.sh \
"
PR = "r1"
EXTRA_OECONF = " \
--enable-bccmd \
--enable-hid2hci \
--disable-alsa \
--enable-cups \
--enable-glib \
--disable-sdpd \
--enable-network \
--enable-serial \
--enable-input \
--enable-audio \
--enable-echo \
--enable-configfile \
--enable-initscripts \
--enable-test \
"
# The config options are explained below:
# --enable-obex enable OBEX support
# --enable-alsa enable ALSA support, not needed for nokia770, nokia800 and fic-gtao1
# --enable-cups install CUPS backend support
# --enable-bccmd install BCCMD interface utility
# --enable-avctrl install Audio/Video control utility
# --enable-hid2hci install HID mode switching utility
# --enable-dfutool install DFU firmware upgrade utility
# --enable-glib For systems that use and install GLib anyway
# --disable-sdpd The sdpd is obsolete and should no longer be used. This of course requires that hcid will be started with -s to enable the SDP server
#Following services can be enabled so far:
# --enable-network
# --enable-serial
# --enable-input
# --enable-audio
# --enable-echo
#There is no need to modify any init script. They will be started
#automatically or on demand. Only /etc/bluetooth/*.service files should
#be patched to change name or the autostart value.
# --enable-configfile
# --enable-initscripts
#For even smaller -doc packages
# --disable-manpages
# --disable-pcmciarules
#I haven't seen any embedded device with HID proxy support. So simply
#disable it:
# --disable-hid2hci
PACKAGES =+ "${PN}-compat"
CONFFILES_${PN} = " \
${sysconfdir}/bluetooth/hcid.conf \
${sysconfdir}/default/bluetooth \
"
CONFFILES_${PN}-compat = " \
${sysconfdir}/bluetooth/rfcomm.conf \
"
FILES_${PN} = " \
${base_sbindir}/hcid \
${libdir}/bluetooth \
${sysconfdir}/init.d/bluetooth \
${sysconfdir}/bluetooth/*.service \
${sysconfdir}/bluetooth/hcid.conf \
${sysconfdir}/default \
${sysconfdir}/dbus-1 \
${base_sbindir}/hciattach \
"
#Package 02dtl1_cs.sh, which is a nasty hack to get dtl1c_cs cards working with suspend/resume
FILES_${PN} += "${sysconfdir}/apm/"
FILES_${PN}-dbg += " \
${libdir}/bluetooth/.debug \
"
FILES_${PN}-compat = " \
${base_bindir}/sdptool \
${base_bindir}/dund \
${base_bindir}/rctest \
${base_bindir}/ciptool \
${base_bindir}/l2test \
${base_bindir}/rfcomm \
${base_bindir}/hcitool \
${base_bindir}/pand \
${base_bindir}/hidd \
${base_bindir}/l2ping \
${base_sbindir}/hciconfig \
${base_sbindir}/bccmd \
${base_sbindir}/hciemu \
${base_bindir}/passkey-agent \
${sysconfdir}/bluetooth/rfcomm.conf \
"
FILES_bluez-cups-backend = "${libdir}/cups/backend/bluetooth"
RDEPENDS_bluez-cups-backend = "cups"
|