diff options
author | Alexander Shiyan <eagle.alexander923@gmail.com> | 2022-06-10 08:40:50 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-10 09:54:11 +0200 |
commit | 339737fcf0a7c4be1d1984283619cb14aaee6aff (patch) | |
tree | 2fb3d31ac6bfb87b873777c1a780b2c02d3e5318 | |
parent | 5c799e3fca839ea5cbb32112b02fd840ff81e763 (diff) | |
download | barebox-339737fcf0a7c4be1d1984283619cb14aaee6aff.tar.gz barebox-339737fcf0a7c4be1d1984283619cb14aaee6aff.tar.xz |
commands: Add CONSOLE dependency for EDIT command
This fixes the following error (without CONSOLE support):
arm-linux-ld: commands/edit.o: in function "do_edit":
/home/ARM/barebox/commands/edit.c:684: undefined reference to "console_list"
make: *** [Makefile:872: .tmp_barebox1] Error 1
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Link: https://lore.barebox.org/20220610054051.4911-9-eagle.alexander923@gmail.com
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | commands/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index c5505321cf..86e4714849 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1327,6 +1327,7 @@ config CMD_ECHO_E config CMD_EDIT tristate + depends on CONSOLE_FULL || CONSOLE_SIMPLE prompt "edit" help A small fill-screen editor. |