From ff7838bfefc8e81e8ff80f6582ee7ed5dcb8b561 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 26 Apr 2022 15:35:32 +0200 Subject: [PATCH] pkg/jerryscript: model in Kconfig --- pkg/Kconfig | 1 + pkg/jerryscript/Kconfig | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 pkg/jerryscript/Kconfig diff --git a/pkg/Kconfig b/pkg/Kconfig index 2bd8352eb9..11cf553157 100644 --- a/pkg/Kconfig +++ b/pkg/Kconfig @@ -29,6 +29,7 @@ rsource "gecko_sdk/Kconfig" rsource "gemmlowp/Kconfig" rsource "hacl/Kconfig" rsource "heatshrink/Kconfig" +rsource "jerryscript/Kconfig" rsource "jsmn/Kconfig" rsource "libb2/Kconfig" rsource "libcose/Kconfig" diff --git a/pkg/jerryscript/Kconfig b/pkg/jerryscript/Kconfig new file mode 100644 index 0000000000..1f17310c54 --- /dev/null +++ b/pkg/jerryscript/Kconfig @@ -0,0 +1,21 @@ +# Copyright (c) 2022 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_JERRYSCRIPT + bool "Ultra-lightweight Javascript interpreter" + depends on TEST_KCONFIG + depends on HAS_ARCH_32BIT + depends on !HAS_ARCH_MIPS32R2 + + select MODULE_JERRYSCRIPT-PORT-DEFAULT + select MODULE_JERRYSCRIPT-EXT + +config MODULE_JERRYSCRIPT-PORT-DEFAULT + bool + +config MODULE_JERRYSCRIPT-EXT + bool