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