Skip to contentSkip to conversation

tools: ynl: tests: fix leading space on Makefile target

PATCH Applied Hangbin Liu 2 participants 2 messages Apr 8 – Apr 10

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 tools/net/ynl/tests/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/net/ynl/tests/Makefile +1 -1
index 2a02958c7039..9215e84cca05 100644
@@ -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

---
base-commit: e65d8b6f3092398efd7c74e722cb7a516d9a0d6d
change-id: 20260408-ynl_makefile-ee540ab81eea

Best regards,

Signature · 1 line
Hangbin Liu <[email protected]>
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 08 Apr 2026 15:19:05 +0800 you wrote:

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.

[...]

Here is the summary with links:
- [net-next] tools: ynl: tests: fix leading space on Makefile target

    https://git.kernel.org/netdev/net-next/c/42f9b4c6ef19

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html