From d5f85303bc03226ef167bf28b18faccd351f03d7 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Wed, 17 Feb 2021 12:58:14 +0100 Subject: test: missing dependency for test/cmd/setexpr.c test/cmd/setexpr.c cannot be linked with CONFIG_CMD_SETEXPR=n: ld.bfd: test/built-in.o: in function `setexpr_test_sub': test/cmd/setexpr.c:227: undefined reference to `setexpr_regex_sub' ld.bfd: test/built-in.o: in function `setexpr_test_backref': test/cmd/setexpr.c:267: undefined reference to `setexpr_regex_sub' Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- test/cmd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cmd') diff --git a/test/cmd/Makefile b/test/cmd/Makefile index 5451e9ea901..c84df603953 100644 --- a/test/cmd/Makefile +++ b/test/cmd/Makefile @@ -8,4 +8,4 @@ endif obj-y += mem.o obj-$(CONFIG_CMD_MEM_SEARCH) += mem_search.o obj-$(CONFIG_CMD_PWM) += pwm.o -obj-y += setexpr.o +obj-$(CONFIG_CMD_SETEXPR) += setexpr.o -- cgit v1.3.1