]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools: ynl: tests: fix leading space on Makefile target
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 8 Apr 2026 07:19:05 +0000 (15:19 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Apr 2026 03:41:40 +0000 (20:41 -0700)
The ../generated/protos.a rule had a spurious leading space before the
target name. In make, target rules must start at column 0; only recipe
lines are indented with a tab. The extra space caused make to misparse
the rule.

Remove the leading space to match the style of the adjacent
../lib/ynl.a rule.

Fixes: e0aa0c61758f ("tools: ynl: move samples to tests")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20260408-ynl_makefile-v1-1-f9624acc2ad9@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/tests/Makefile

index 2a02958c703935539cd0714a71d58721e9fc8a7b..9215e84cca0577084a17ab6d831647e95202eebf 100644 (file)
@@ -50,7 +50,7 @@ all: $(TEST_GEN_PROGS) $(TEST_GEN_FILES)
 ../lib/ynl.a:
        @$(MAKE) -C ../lib
 
- ../generated/protos.a:
+../generated/protos.a:
        @$(MAKE) -C ../generated
 
 $(TEST_GEN_PROGS) $(TEST_GEN_FILES): %: %.c ../lib/ynl.a ../generated/protos.a