[Buildroot] [PATCH v2] Add package connman

Peter Korsgaard jacmet at uclibc.org
Mon Dec 5 14:37:24 UTC 2011


>>>>> "Daniel" == Daniel Mack <zonque at gmail.com> writes:

 Daniel> The ConnMan project provides a daemon for managing internet
 Daniel> connections within embedded devices running the Linux operating
 Daniel> system. The Connection Manager is designed to be slim and to
 Daniel> use as few resources as possible, so it can be easily
 Daniel> integrated. It is a fully modular system that can be extended,
 Daniel> through plug-ins, to support all kinds of wired or wireless
 Daniel> technologies. Also, configuration methods, like DHCP and domain
 Daniel> name resolving, are implemented using plug-ins. The plug-in
 Daniel> approach allows for easy adaption and modification for various
 Daniel> use cases.

Thanks, looks interesting. Kos_tom also worked on a package which
unfortunately got lost together with his laptop.

 Daniel> +config BR2_PACKAGE_CONNMAN_BLUETOOTH
 Daniel> +	bool "enable Bluetooth support"

Does this not need BR2_PACKAGE_BLUEZ_UTILS?

 Daniel> +++ b/package/connman/connman.mk
 Daniel> @@ -0,0 +1,21 @@
 Daniel> +#######################################################
 Daniel> +#
 Daniel> +# connman - open source connection manager
 Daniel> +#
 Daniel> +#######################################################
 Daniel> +
 Daniel> +CONNMAN_VERSION = 0.77
 Daniel> +CONNMAN_SITE = git://git.kernel.org/pub/scm/network/connman/connman.git
 Daniel> +CONNMAN_DEPENDENCIES = libglib2 dbus iptables
 Daniel> +CONNMAN_AUTORECONF = YES

Why? You don't seem to be editing configure.ac or similar.

 Daniel> +CONNMAN_CONF_OPT += --localstatedir=/var --sysconfdir=/etc \

--sysconfdir is automatically used by AUTOTARGETS, so you don't need to
explicitly pass it.


 Daniel> +	$(if $(BR2_PACKAGE_CONNMAN_THREADS),--enable-threads,--disable-threads)		\
 Daniel> +	$(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug)		\
 Daniel> +	$(if $(BR2_PACKAGE_CONNMAN_ETHERNET),--enable-ethernet,--disable-ethernet)	\
 Daniel> +	$(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi)			\

You probably also need to add wpa_supplicant to CONNMAN_DEPENDENCIES

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list