package/crudini: add host-crudini

Make the host variant of crudini package. This can be useful in
post-{build,image} scripts.

Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: select python3, don't depend on it]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Konstantin Menyaev 2022-09-21 02:21:54 +03:00 committed by Yann E. MORIN
parent 87af250c0e
commit c96b2b21f7
3 changed files with 11 additions and 0 deletions

View File

@ -14,6 +14,7 @@ menu "Host utilities"
source "package/checksec/Config.in.host"
source "package/cmake/Config.in.host"
source "package/cramfs/Config.in.host"
source "package/crudini/Config.in.host"
source "package/cryptsetup/Config.in.host"
source "package/dbus-python/Config.in.host"
source "package/delve/Config.in.host"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_HOST_CRUDINI
bool "host crudini"
select BR2_PACKAGE_HOST_PYTHON3
select BR2_PACKAGE_HOST_PYTHON_INIPARSE # runtime
help
A utility for handling ini files from the command line and
shell scripts
https://pypi.python.org/pypi/crudini

View File

@ -11,3 +11,4 @@ CRUDINI_LICENSE = GPL-2.0
CRUDINI_LICENSE_FILES = COPYING
$(eval $(python-package))
$(eval $(host-python-package))