diff options
| author | champtar <champetier.etienne@gmail.com> | 2017-11-15 09:18:06 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-15 09:18:06 -0800 |
| commit | 32b5d95d9eabeb5f2cc75b6e76ce826e01d0db3f (patch) | |
| tree | 678ec64fec61c8d43fd72c08e23e274c17e732ff /lang/python/python3/Makefile | |
| parent | 28d897892099215fc4fea687977976a1945d0b3e (diff) | |
| parent | c2b3496977b5b6fddc0b25d1335a3706649f6c03 (diff) | |
Merge pull request #5122 from commodo/python-bluetooth
python,python3: build bluetooth support if bluez-libs selected
Diffstat (limited to 'lang/python/python3/Makefile')
| -rw-r--r-- | lang/python/python3/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 9253c9688..38e55ba54 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -16,7 +16,7 @@ PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 # XXX: reset PKG_RELEASE to 1 only if Python's pip & setuptools versions have also bumped; # otherwise, keep bumping PKG_RELEASE -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz @@ -40,9 +40,12 @@ HOST_BUILD_PARALLEL:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION) HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION) -PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_python3-setuptools CONFIG_PACKAGE_python3-pip +PKG_CONFIG_DEPENDS:= \ + CONFIG_PACKAGE_python3-setuptools CONFIG_PACKAGE_python3-pip \ + CONFIG_PACKAGE_bluez-libs -PKG_BUILD_DEPENDS:=python3/host + +PKG_BUILD_DEPENDS:=python3/host PACKAGE_bluez-libs:bluez-libs HOST_BUILD_DEPENDS:=bzip2/host expat/host libffi/host include $(INCLUDE_DIR)/host-build.mk @@ -80,7 +83,7 @@ endef define Package/python3-light $(call Package/python3/Default) TITLE:=Python $(PYTHON_VERSION) light installation - DEPENDS:=+python3-base +libffi +libbz2 + DEPENDS:=+python3-base +libffi +libbz2 +PACKAGE_bluez-libs:bluez-libs endef define Package/python3-light/description |
