config BR2_PACKAGE_OPENOBEX
	bool "openobex"
	depends on BR2_INET_IPV6
	help
	  Free open source implementation of the Object Exchange (OBEX)
	  protocol.

	  http://www.openobex.org

if BR2_PACKAGE_OPENOBEX

config BR2_PACKAGE_OPENOBEX_BLUEZ
	bool "enable bluez support"
	depends on !BR2_avr32
	depends on !BR2_PREFER_STATIC_LIB # bluez_utils
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
	depends on BR2_USE_MMU # dbus
	select BR2_PACKAGE_BLUEZ_UTILS

comment "bluez support needs a toolchain w/ wchar, threads, dynamic library"
	depends on !BR2_avr32 && BR2_USE_MMU
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB

config BR2_PACKAGE_OPENOBEX_LIBUSB
	bool "enable libusb support"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_LIBUSB

comment "libusb support needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS

config BR2_PACKAGE_OPENOBEX_APPS
	bool "install test applications"
	help
	  Also install the openobex test applications on target.

config BR2_PACKAGE_OPENOBEX_SYSLOG
	bool "enable debugging to the system logger"

config BR2_PACKAGE_OPENOBEX_DUMP
	bool "enable protocol dumping for debugging"

endif

comment "openobex needs a toolchain w/ IPv6"
	depends on !BR2_INET_IPV6
