summaryrefslogtreecommitdiff
path: root/package/openobex
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:39:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:39:48 +0100
commit4088c6eaebb868c4533c83a3d7880b9fab31d45e (patch)
tree55a79694e55cafd70798d729e9f151850c5f3fab /package/openobex
parentd0cc7e39caa254a2fb234a7f737e020dcf3b2b21 (diff)
make obexftp work with static linking, fix ipv6 dependency
Diffstat (limited to 'package/openobex')
-rw-r--r--package/openobex/Config.in5
-rw-r--r--package/openobex/Makefile6
2 files changed, 8 insertions, 3 deletions
diff --git a/package/openobex/Config.in b/package/openobex/Config.in
index 130dd0361..504459b74 100644
--- a/package/openobex/Config.in
+++ b/package/openobex/Config.in
@@ -2,8 +2,9 @@ config ADK_PACKAGE_OPENOBEX
prompt "openobex.......................... openobex library"
tristate
default n
+ # openobex does not work without ipv6
+ select ADK_IPV6
select ADK_PACKAGE_BLUEZ
help
- Free open source implementation of the Object Exchange (OBEX) protocol.
-
+ Open source implementation of the Object Exchange (OBEX) protocol.
http://openobex.triq.net/
diff --git a/package/openobex/Makefile b/package/openobex/Makefile
index cca11e785..a1fb09a0e 100644
--- a/package/openobex/Makefile
+++ b/package/openobex/Makefile
@@ -12,9 +12,13 @@ PKG_SECTION:= bluetooth
PKG_URL:= http://dev.zuckschwerdt.org/openobex/wiki/WikiStart
PKG_SITES:= ${MASTER_SITE_KERNEL:=bluetooth/}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,OPENOBEX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,OPENOBEX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto