bluez: enable static lib, install dev files
Signed-off-by: Nicolas Thill <nico@openwrt.org>
This commit is contained in:
parent
ed4a2ad900
commit
4e216b8b28
1 changed files with 11 additions and 0 deletions
|
@ -52,6 +52,8 @@ define Package/bluez-utils/conffiles
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
|
--enable-static \
|
||||||
|
--enable-shared \
|
||||||
--enable-client \
|
--enable-client \
|
||||||
--enable-datafiles \
|
--enable-datafiles \
|
||||||
--enable-experimental \
|
--enable-experimental \
|
||||||
|
@ -71,6 +73,15 @@ CONFIGURE_ARGS += \
|
||||||
TARGET_CPPFLAGS += \
|
TARGET_CPPFLAGS += \
|
||||||
-D_GNU_SOURCE
|
-D_GNU_SOURCE
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/bluetooth $(1)/usr/include/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.{a,so*} $(1)/usr/lib/
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/bluez.pc $(1)/usr/lib/pkgconfig/
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/bluez-libs/install
|
define Package/bluez-libs/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.so.* $(1)/usr/lib/
|
||||||
|
|
Loading…
Reference in a new issue