mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
create rootf's & SDK from 2018.02.9 buildroot (#10)
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
This commit is contained in:
@@ -3,14 +3,16 @@ config BR2_PACKAGE_DBUS_PYTHON
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_PACKAGE_DBUS
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_DBUS_GLIB
|
||||
# pyexpat: runtime dependency only
|
||||
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
Python bindings for D-Bus
|
||||
|
||||
http://dbus.freedesktop.org/doc/dbus-python/
|
||||
|
||||
comment "dbus-python needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_PACKAGE_DBUS && (BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3)
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
config BR2_PACKAGE_HOST_DBUS_PYTHON
|
||||
bool "host dbus-python"
|
||||
help
|
||||
Python bindings for D-Bus
|
||||
|
||||
http://dbus.freedesktop.org/doc/dbus-python/
|
||||
@@ -1,6 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260 dbus-python-1.2.18.tar.gz
|
||||
|
||||
# Locally calculated
|
||||
sha256 1e4562245383fdb5203b1769789e5b28bba21af4923aea7e8b2614f7f93623c0 COPYING
|
||||
sha256 064523e3ab64d6f03904132b2cc4a1bd8500586edb4cd050c2ff2b96aed4c33b dbus-gmain/COPYING
|
||||
sha256 e2f1d6871f74fba23652e51d10873e54f71adab0525833c19bad9e99b1b2f9cc dbus-python-1.2.4.tar.gz
|
||||
|
||||
@@ -4,25 +4,28 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DBUS_PYTHON_VERSION = 1.2.18
|
||||
DBUS_PYTHON_VERSION = 1.2.4
|
||||
DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python
|
||||
DBUS_PYTHON_INSTALL_STAGING = YES
|
||||
DBUS_PYTHON_LICENSE = MIT (dbus-python), AFL-2.1 or GPL-2.0+ (dbus-gmain)
|
||||
DBUS_PYTHON_LICENSE_FILES = COPYING dbus-gmain/COPYING
|
||||
DBUS_PYTHON_DEPENDENCIES = dbus libglib2 python3 host-python3
|
||||
HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus host-libglib2 host-python3
|
||||
DBUS_PYTHON_LICENSE = MIT
|
||||
DBUS_PYTHON_LICENSE_FILES = COPYING
|
||||
DBUS_PYTHON_DEPENDENCIES = dbus-glib
|
||||
DBUS_PYTHON_CONF_OPTS = --disable-html-docs --disable-api-docs
|
||||
|
||||
DBUS_PYTHON_CONF_ENV = \
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
DBUS_PYTHON_DEPENDENCIES += python host-python
|
||||
|
||||
DBUS_PYTHON_CONF_ENV += \
|
||||
PYTHON=$(HOST_DIR)/bin/python2 \
|
||||
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \
|
||||
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`"
|
||||
else
|
||||
DBUS_PYTHON_DEPENDENCIES += python3 host-python3
|
||||
|
||||
DBUS_PYTHON_CONF_ENV += \
|
||||
PYTHON=$(HOST_DIR)/bin/python3 \
|
||||
PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \
|
||||
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \
|
||||
PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`"
|
||||
|
||||
HOST_DBUS_PYTHON_CONF_ENV = \
|
||||
PYTHON=$(HOST_DIR)/bin/python3 \
|
||||
PYTHON_INCLUDES="`$(HOST_DIR)/usr/bin/python3-config --includes`" \
|
||||
PYTHON_LIBS="`$(HOST_DIR)/usr/bin/python3-config --ldflags`" \
|
||||
PYTHON_EXTRA_LIBS="`$(HOST_DIR)/usr/bin/python3-config --libs --embed`"
|
||||
PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`"
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user