bluez5_utils-headers: new package

Header files from bluez utils version 5.x.

Separated headers are required to break circular dependencies
when python3 is built with bluetooth support.

This is a blind option, it will be automatically selected by python3
when bluez5_utils is enabled.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Arnout: add comment to keep versions in sync; make it a blind option]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Grzegorz Blach
2018-09-13 13:56:55 +02:00
committed by Arnout Vandecappelle (Essensium/Mind)
parent bee10e5702
commit 9edd1760ed
6 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_BLUEZ5_UTILS_HEADERS
bool
help
Header files from bluez utils version 5.x
http://www.bluez.org
http://www.kernel.org/pub/linux/bluetooth

View File

@@ -0,0 +1 @@
../bluez5_utils/bluez5_utils.hash

View File

@@ -0,0 +1,23 @@
################################################################################
#
# bluez5_utils-headers
#
################################################################################
# Keep the version and patches in sync with bluez5_utils
BLUEZ5_UTILS_HEADERS_VERSION = 5.50
BLUEZ5_UTILS_HEADERS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
BLUEZ5_UTILS_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
BLUEZ5_UTILS_HEADERS_DL_SUBDIR = bluez5_utils
BLUEZ5_UTILS_HEADERS_LICENSE = GPL-2.0+, LGPL-2.1+
BLUEZ5_UTILS_HEADERS_LICENSE_FILES = COPYING COPYING.LIB
BLUEZ5_UTILS_HEADERS_INSTALL_STAGING = YES
BLUEZ5_UTILS_HEADERS_INSTALL_TARGET = NO
define BLUEZ5_UTILS_HEADERS_INSTALL_STAGING_CMDS
$(INSTALL) -d $(STAGING_DIR)/usr/include/bluetooth/
$(INSTALL) -m 644 $(@D)/lib/*.h $(STAGING_DIR)/usr/include/bluetooth/
endef
$(eval $(generic-package))