From 8f8766c340b71b471d7cd2f9e199a2210608e196 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 28 Jun 2024 15:24:28 +0200 Subject: [PATCH] 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 --- package/python-libyang/Config.in | 1 - package/python-libyang/python-libyang.mk | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-libyang/Config.in b/package/python-libyang/Config.in index 8cf43d7d5..0f432b5d1 100644 --- a/package/python-libyang/Config.in +++ b/package/python-libyang/Config.in @@ -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. diff --git a/package/python-libyang/python-libyang.mk b/package/python-libyang/python-libyang.mk index 3e50c8c27..618098a85 100644 --- a/package/python-libyang/python-libyang.mk +++ b/package/python-libyang/python-libyang.mk @@ -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))