Skip to content

Commit

Permalink
package/python-libyang: allow building also for target
Browse files Browse the repository at this point in the history
No need to lock it down solely for host build-time use.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Jun 28, 2024
1 parent 46598a8 commit 8f8766c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion package/python-libyang/Config.in
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions package/python-libyang/python-libyang.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 8f8766c

Please sign in to comment.