mirror of git://git.sysmocom.de/ofono
dundee: Start BlueZ 5 support
This patch adds the BlueZ 5 support file for dundee.
This commit is contained in:
parent
63f92d60b5
commit
d26dab944c
15
Makefile.am
15
Makefile.am
|
@ -759,14 +759,12 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if BLUETOOTH
|
if BLUETOOTH
|
||||||
if BLUEZ4
|
|
||||||
if DUNDEE
|
if DUNDEE
|
||||||
sbin_PROGRAMS += dundee/dundee
|
sbin_PROGRAMS += dundee/dundee
|
||||||
|
|
||||||
dundee_dundee_SOURCES = $(gdbus_sources) $(gatchat_sources) $(btio_sources) \
|
dundee_common_sources = $(gdbus_sources) $(gatchat_sources) \
|
||||||
src/log.c src/dbus.c plugins/bluez4.c \
|
src/log.c src/dbus.c dundee/dundee.h dundee/main.c \
|
||||||
dundee/dundee.h dundee/main.c dundee/dbus.c \
|
dundee/dbus.c dundee/manager.c dundee/device.c
|
||||||
dundee/manager.c dundee/device.c dundee/bluez4.c
|
|
||||||
|
|
||||||
dundee_dundee_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ -ldl
|
dundee_dundee_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ -ldl
|
||||||
|
|
||||||
|
@ -777,6 +775,13 @@ if SYSTEMD
|
||||||
systemdunit_DATA += dundee/dundee.service
|
systemdunit_DATA += dundee/dundee.service
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if BLUEZ4
|
||||||
|
dundee_dundee_SOURCES = $(dundee_common_sources) $(btio_sources) \
|
||||||
|
plugins/bluez4.c dundee/bluez4.c
|
||||||
|
else
|
||||||
|
dundee_dundee_SOURCES = $(dundee_common_sources) plugins/bluez5.c \
|
||||||
|
dundee/bluez5.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
/*
|
||||||
|
* oFono - Open Source Telephony
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Instituto Nokia de Tecnologia - INdT
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "dundee.h"
|
||||||
|
|
||||||
|
int __dundee_bluetooth_init(void)
|
||||||
|
{
|
||||||
|
DBG("");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void __dundee_bluetooth_cleanup(void)
|
||||||
|
{
|
||||||
|
DBG("");
|
||||||
|
}
|
Loading…
Reference in New Issue