summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-11-04 17:57:08 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-11-04 17:58:33 +0100
commita4b1cedc2259acb78201d988a5f9483424386c42 (patch)
treeff2e5c90510581cde8add14365fbd16b5bd0de80 /Makefile.plugins
parent035d6119b86a6c353ee0d17427ab2b3094a6573a (diff)
downloadconnman-a4b1cedc2259acb78201d988a5f9483424386c42.tar.gz
connman-a4b1cedc2259acb78201d988a5f9483424386c42.tar.bz2
connman-a4b1cedc2259acb78201d988a5f9483424386c42.zip
Fix wifi plugin build issues when not built-in.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index da0c12d3..07aa1db9 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -31,17 +31,21 @@ plugins_ethernet_la_LDFLAGS = $(plugin_ldflags)
endif
endif
+gsupplicant_sources = gsupplicant/gsupplicant.h gsupplicant/dbus.h \
+ gsupplicant/supplicant.c gsupplicant/dbus.c
+
if WIFI
if WIFI_BUILTIN
builtin_modules += wifi
-builtin_sources += plugins/wifi.c
+builtin_sources += plugins/wifi.c $(gsupplicant_sources)
+
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_wifi_la_SOURCES = plugins/wifi.c $(gsupplicant_sources)
plugins_wifi_la_CFLAGS = $(plugin_cflags)
plugins_wifi_la_LDFLAGS = $(plugin_ldflags)