mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 07:06:36 +00:00
python3: add optional dependency on bluez5_utils-headers
When python3 depends on bluez5_utils-headers, python3 is build with bluetooth support. Signed-off-by: Grzegorz Blach <grzegorz@blach.pl> [Arnout: select bluez5_utils-headers is bluez5_utils is enabled] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
9edd1760ed
commit
cd30ed51b4
@ -11,6 +11,7 @@ config BR2_PACKAGE_PYTHON3
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
select BR2_PACKAGE_LIBFFI
|
select BR2_PACKAGE_LIBFFI
|
||||||
|
select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS
|
||||||
help
|
help
|
||||||
The python language interpreter.
|
The python language interpreter.
|
||||||
|
|
||||||
|
@ -255,6 +255,11 @@ endif
|
|||||||
# Provided to other packages
|
# Provided to other packages
|
||||||
PYTHON3_PATH = $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/
|
PYTHON3_PATH = $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/
|
||||||
|
|
||||||
|
# Support for socket.AF_BLUETOOTH
|
||||||
|
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y)
|
||||||
|
PYTHON3_DEPENDENCIES += bluez5_utils-headers
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user