tools: ynl: use ynl-gen -o instead of stdout in Makefile
authorJakub Kicinski <kuba@kernel.org>
Tue, 10 Oct 2023 20:27:14 +0000 (13:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Oct 2023 20:33:06 +0000 (13:33 -0700)
commitcb7fb0aa3cd80c6bf13abd1d4a75b0640c2e7eaf
treee191a5fb34da22a4feea0c3c2162b172bbbc73eb
parent0f07415ebb78e700393237b9148487a2fe27fb04
tools: ynl: use ynl-gen -o instead of stdout in Makefile

Jiri added more careful handling of output of the code generator
to avoid wiping out existing files in
commit f65f305ae008 ("tools: ynl-gen: use temporary file for rendering")
Make use of the -o option in the Makefiles, it is already used
by ynl-regen.sh.

Link: https://lore.kernel.org/r/20231010202714.4045168-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/generated/Makefile