On 10/28/24 17:48, Tom Rini wrote:
The "dollar" tests require CONFIG_CONSOLE_RECORD to be enabled so guard
with that.

Signed-off-by: Tom Rini <[email protected]>
---
  test/hush/Makefile | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/test/hush/Makefile b/test/hush/Makefile
index a2d98815e501..4c3a0be857ae 100644
--- a/test/hush/Makefile
+++ b/test/hush/Makefile
@@ -5,6 +5,8 @@
obj-y += cmd_ut_hush.o
  obj-y += if.o
+ifdef CONFIG_CONSOLE_RECORD
  obj-y += dollar.o

Or to keep it simpler:

obj-$(CONFIG_CONSOLE_RECORD) += dollar.o

Reviewed-by: Heinrich Schuchardt <[email protected]>

+endif
  obj-y += list.o
  obj-y += loop.o

Reply via email to