1、修改feeds/pacakges/libs/bluez-libs/Makefile
PKG_NAME:=bluez
PKG_VERSION:=5.2
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/bluetooth
#PKG_MD5SUM:=fb42cb7038c380eb0e2fa208987c96ad
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/bluez-libs
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=libncurses +libreadline
TITLE:=Bluetooth library
URL:=http://www.bluez.org/
endef
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--enable-gatt \
--enable-tools \
--disable-udev \
--disable-systemd \
--disable-obex \
--enable-library \
2、修改configure.ac
if (test "${enable_client}" != "no"); then
LDFLAGS="$LDFLAGS -lncurses"
AC_CHECK_HEADERS(readline/readline.h, [ enable_readline=yes
AC_SUBST(READLINE_LIBS, "-lreadline -lncurses")
], AC_MSG_ERROR(readline header files are required))
fi
3、# make pckage/bluez-libs/compile V=99