"Zhang, Wen (Sky)" <[email protected]> writes:

> Hi

Hi Wen,

> all I have writted a plugin for ofono cdma data connection

Cool. Can you share it? I'm very interested about cdma support.

But why do you need to have a separate ofono plugin for cdma?

> but I do not know how to add plugin and compile it like as ofono
> plugin, and can create like as ofono_cdma.so and ofono_cdma.la Who can
> tell me which files should modify, configure.ac? Makefile.am? Or other
> files? 

grep is usually your best friend, better to use it. But Makefile.plugin
is the file you are interested about:

if OFONO
if OFONO_BUILTIN
builtin_modules += ofono
builtin_sources += plugins/ofono.c
else
plugin_LTLIBRARIES += plugins/ofono.la
plugin_objects += $(plugins_ofono_la_OBJECTS)
plugins_ofono_la_CFLAGS = $(plugin_cflags)
plugins_ofono_la_LDFLAGS = $(plugin_ldflags)
endif
endif

If you want to add a new configure switch when you need to also edit
configure.ac.

-- 
Kalle Valo
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to