summaryrefslogtreecommitdiff
path: root/package/bluez/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/bluez/Makefile')
-rw-r--r--package/bluez/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/package/bluez/Makefile b/package/bluez/Makefile
index 579cff571..6166c1f50 100644
--- a/package/bluez/Makefile
+++ b/package/bluez/Makefile
@@ -4,32 +4,38 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= bluez
-PKG_VERSION:= 5.12
+PKG_VERSION:= 5.19
PKG_RELEASE:= 1
-PKG_MD5SUM:= 5d37e581107b3d6f91b81194a5006407
+PKG_MD5SUM:= 2d839c0bc9f8daaa6ca32e65d7701812
PKG_DESCR:= bluetooth applications
PKG_SECTION:= net/wifi
PKG_DEPENDS:= glib dbus libreadline
-PKG_BUILDDEP:= autotool glib dbus readline
+PKG_BUILDDEP:= glib dbus readline
PKG_URL:= http://www.bluez.org/
PKG_SITES:= http://mirror.anl.gov/pub/linux/bluetooth/
-PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BLUEZ,bluez,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-AUTOTOOL_STYLE:= autoreconf
+TARGET_LDFLAGS+= -lncurses
+
ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
XAKE_FLAGS+= CCLD="$(TARGET_CC) -all-static -pthread"
endif
-TARGET_LDFLAGS+= -lncurses
+
+ifeq ($(ADK_TARGET_USE_PIE),y)
+CONFIGURE_ARGS+= --enable-pie
+else
CONFIGURE_ENV+= ac_cv_prog_cc_pie=no
+CONFIGURE_ARGS+= --disable-pie
+endif
+
CONFIGURE_ARGS+= --enable-tools \
--disable-udev \
+ --disable-test \
--disable-systemd \
--disable-obex \
- --disable-pie \
--disable-cups
bluez-install: