From ca5ac761996632e39e837f943df11339bb7ee378 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 19 May 2023 15:40:44 +0200 Subject: [PATCH 1/2] pkg/libbase58: add Kconfig support --- pkg/Kconfig | 1 + pkg/libbase58/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 pkg/libbase58/Kconfig diff --git a/pkg/Kconfig b/pkg/Kconfig index cdb00d2bda3c..e150bac93e0b 100644 --- a/pkg/Kconfig +++ b/pkg/Kconfig @@ -36,6 +36,7 @@ rsource "heatshrink/Kconfig" rsource "jerryscript/Kconfig" rsource "jsmn/Kconfig" rsource "libb2/Kconfig" +rsource "libbase58/Kconfig" rsource "libcose/Kconfig" rsource "libfixmath/Kconfig" rsource "libhydrogen/Kconfig" diff --git a/pkg/libbase58/Kconfig b/pkg/libbase58/Kconfig new file mode 100644 index 000000000000..4ad2e30321ae --- /dev/null +++ b/pkg/libbase58/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2023 Inria +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config PACKAGE_LIBBASE58 + bool "Bitcoin's base58 encoding" + depends on TEST_KCONFIG + + select MODULE_POSIX_HEADERS From 609ba37b81e7e04e8c73b5fee95bf2a8dc679f9e Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 19 May 2023 15:40:57 +0200 Subject: [PATCH 2/2] tests/pkg/libbase58: add Kconfig config --- tests/pkg/libbase58/app.config.test | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/pkg/libbase58/app.config.test diff --git a/tests/pkg/libbase58/app.config.test b/tests/pkg/libbase58/app.config.test new file mode 100644 index 000000000000..3e6e71f2b56c --- /dev/null +++ b/tests/pkg/libbase58/app.config.test @@ -0,0 +1,2 @@ +CONFIG_MODULE_EMBUNIT=y +CONFIG_PACKAGE_LIBBASE58=y