diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2026-04-08 10:19:05 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-10 06:41:40 +0300 |
| commit | 42f9b4c6ef19e71d2c7d9bfd3c5037d4fe434ad7 (patch) | |
| tree | a01a1893d2c320390309d4426bfb38a9278410e7 | |
| parent | 3d2c3d2eea9acdbee5b5742d15d021069b49d3f9 (diff) | |
| download | linux-42f9b4c6ef19e71d2c7d9bfd3c5037d4fe434ad7.tar.xz | |
tools: ynl: tests: fix leading space on Makefile target
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>
| -rw-r--r-- | tools/net/ynl/tests/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/net/ynl/tests/Makefile b/tools/net/ynl/tests/Makefile index 2a02958c7039..9215e84cca05 100644 --- a/tools/net/ynl/tests/Makefile +++ b/tools/net/ynl/tests/Makefile @@ -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 |
