summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-09-16 00:21:23 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-09-20 15:14:16 +0200
commitcbb031b7308e800149f76537fc7ccbd1a40a0735 (patch)
tree37e27ff80532280e0ed72ad7aed7798615cb98a8 /Makefile.plugins
parent3053d4aba0db458ad7adf48041c79734700c5ee0 (diff)
downloadconnman-cbb031b7308e800149f76537fc7ccbd1a40a0735.tar.gz
connman-cbb031b7308e800149f76537fc7ccbd1a40a0735.tar.bz2
connman-cbb031b7308e800149f76537fc7ccbd1a40a0735.zip
Move current wifi plugin to legacy
The current wifi plugin is replaced by the new API one and is renamed to wifi-legacy.c.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index 3b3164b4..e6b79b08 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -34,14 +34,24 @@ endif
if WIFI
if WIFI_BUILTIN
builtin_modules += wifi
-builtin_sources += plugins/wifi.c plugins/supplicant.h plugins/supplicant.c
+builtin_sources += plugins/wifi.c
+builtin_modules += wifi_legacy
+builtin_sources += plugins/wifi-legacy.c \
+ plugins/supplicant.h plugins/supplicant.c
else
plugin_LTLIBRARIES += plugins/wifi.la
plugin_objects += $(plugins_wifi_la_OBJECTS)
-plugins_wifi_la_SOURCES = plugins/wifi.c \
- plugins/supplicant.h plugins/supplicant.c
+plugins_wifi_la_SOURCES = plugins/wifi.c
plugins_wifi_la_CFLAGS = $(plugin_cflags)
plugins_wifi_la_LDFLAGS = $(plugin_ldflags)
+
+plugin_LTLIBRARIES += plugins/wifi_legacy.la
+plugin_objects += $(plugins_wifi_legacy_la_OBJECTS)
+plugins_wifi_legacy_la_SOURCES = plugins/wifi-legacy.c \
+ plugins/supplicant.h plugins/supplicant.c
+plugins_wifi_legacy_la_CFLAGS = $(plugin_cflags)
+plugins_wifi_legacy_la_LDFLAGS = $(plugin_ldflags)
+
endif
endif