---
Makefile.am | 7 +++----
plugins/bluetooth.c | 3 ---
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e256841..3c69b4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -71,6 +71,8 @@ gatchat_sources = gatchat/gatchat.h gatchat/gatchat.c \
gatchat/ppp_auth.c gatchat/ppp_net.c \
gatchat/ppp_ipcp.c
+bluetooth_sources = plugins/bluetooth.c plugins/bluetooth.h
+
udev_files = plugins/ofono.rules
if UDEV
@@ -236,11 +238,8 @@ builtin_sources += plugins/huawei.c
builtin_modules += novatel
builtin_sources += plugins/novatel.c
-builtin_modules += bluetooth
-builtin_sources += plugins/bluetooth.c plugins/bluetooth.h
-
builtin_modules += hfp
-builtin_sources += plugins/hfp.c plugins/bluetooth.h
+builtin_sources += plugins/hfp.c $(bluetooth_sources)
builtin_modules += palmpre
builtin_sources += plugins/palmpre.c
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 9335607..9aca650 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -555,6 +555,3 @@ void bluetooth_unregister_uuid(const char *uuid)
g_hash_table_destroy(adapter_address_hash);
uuid_hash = NULL;
}
-
-OFONO_PLUGIN_DEFINE(bluetooth, "Bluetooth Utils Plugins", VERSION,
- OFONO_PLUGIN_PRIORITY_DEFAULT, NULL, NULL)
--
1.7.1.1
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono