mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH 8/8] commands: Add CONSOLE dependency for EDIT command
Date: Fri, 10 Jun 2022 08:40:50 +0300	[thread overview]
Message-ID: <20220610054051.4911-9-eagle.alexander923@gmail.com> (raw)
In-Reply-To: <20220610054051.4911-1-eagle.alexander923@gmail.com>

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>
---
 commands/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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.
-- 
2.32.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


  parent reply	other threads:[~2022-06-10  5:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  5:40 [PATCH 0/8] Misc fixes part II Alexander Shiyan
2022-06-10  5:40 ` [PATCH 1/8] ARM: optee-early: Fix 'memcpy' implicit declaration Alexander Shiyan
2022-06-10  5:40 ` [PATCH 2/8] ata: ahci: Fix format string Alexander Shiyan
2022-06-10  5:40 ` [PATCH 3/8] gui: image_renderer: Fix empty prototype for image_renderer_image() Alexander Shiyan
2022-06-10  5:40 ` [PATCH 4/8] ARM: vexpress: Add missing "noreturn" attribute to restart function Alexander Shiyan
2022-06-10  5:40 ` [PATCH 5/8] ARM: versatile: " Alexander Shiyan
2022-06-10  5:40 ` [PATCH 6/8] lib: logo: Ignore more generated files Alexander Shiyan
2022-06-10  5:40 ` [PATCH 7/8] mtd: nand: orion: Disallow driver compile for ARMv4T Alexander Shiyan
2022-06-10  5:40 ` Alexander Shiyan [this message]
2022-06-10  7:54 ` [PATCH 0/8] Misc fixes part II Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220610054051.4911-9-eagle.alexander923@gmail.com \
    --to=eagle.alexander923@gmail.com \
    --cc=barebox@lists.infradead.org \
    --subject='Re: [PATCH 8/8] commands: Add CONSOLE dependency for EDIT command' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox