2020-04-29 12:39:33 +02:00
|
|
|
# Copyright (c) 2020 HAW Hamburg
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2021-02-17 17:10:51 +01:00
|
|
|
if !TEST_KCONFIG
|
2021-02-03 11:22:15 +01:00
|
|
|
|
2021-02-04 12:46:19 +01:00
|
|
|
menuconfig KCONFIG_USEMODULE_SHELL
|
2021-02-03 11:22:15 +01:00
|
|
|
bool "Configure the Shell interpreter"
|
|
|
|
depends on USEMODULE_SHELL
|
|
|
|
|
2021-02-04 12:46:19 +01:00
|
|
|
if KCONFIG_USEMODULE_SHELL
|
2021-02-17 17:10:51 +01:00
|
|
|
rsource "Kconfig.config"
|
|
|
|
endif # KCONFIG_USEMODULE_SHELL
|
2021-02-03 11:22:15 +01:00
|
|
|
|
2021-02-17 17:10:51 +01:00
|
|
|
endif # !TEST_KCONFIG
|
2021-02-03 11:22:15 +01:00
|
|
|
|
2021-02-17 17:10:51 +01:00
|
|
|
if TEST_KCONFIG
|
|
|
|
menuconfig MODULE_SHELL
|
|
|
|
bool "Shell interpreter"
|
|
|
|
select MODULE_STDIN
|
|
|
|
depends on TEST_KCONFIG
|
2021-02-03 11:22:15 +01:00
|
|
|
|
2022-07-21 20:26:03 +02:00
|
|
|
rsource "cmds/Kconfig"
|
2021-02-03 11:22:15 +01:00
|
|
|
|
2021-02-17 17:10:51 +01:00
|
|
|
if MODULE_SHELL
|
|
|
|
rsource "Kconfig.config"
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif # TEST_KCONFIG
|