package/python-libyang: allow building also for target

No need to lock it down solely for host build-time use.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2024-06-28 15:24:28 +02:00
parent 46598a875d
commit 8f8766c340
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -1,6 +1,5 @@
config BR2_PACKAGE_PYTHON_LIBYANG
bool "python-libyang"
select BR2_PACKAGE_PYTHON_PIP # buildtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
help
CFFI bindings to libyang.
+2
View File
@@ -10,6 +10,8 @@ PYTHON_LIBYANG_SITE = https://files.pythonhosted.org/packages/91/2e/ff13ee16c874
PYTHON_LIBYANG_SETUP_TYPE = setuptools
PYTHON_LIBYANG_LICENSE = MIT
PYTHON_LIBYANG_LICENSE_FILES = LICENSE
PYTHON_LIBYANG_DEPENDENCIES = python-cython python-cffi
HOST_PYTHON_LIBYANG_DEPENDENCIES = host-python-cython host-python-cffi
$(eval $(python-package))
$(eval $(host-python-package))