linux/tools/net/ynl
Jakub Kicinski db6b35cffe tools: ynl: fix build on systems with old kernel headers
The wireguard YNL conversion was missing the customary .deps entry.
NIPA doesn't catch this but my CentOS 9 system complains:

 wireguard-user.c:72:10: error: ‘WGALLOWEDIP_A_FLAGS’ undeclared here
 wireguard-user.c:58:67: error: parameter 1 (‘value’) has incomplete type
 58 | const char *wireguard_wgallowedip_flags_str(enum wgallowedip_flag value)
    |                                             ~~~~~~~~~~~~~~~~~~~~~~^~~~~

And similarly does Ubuntu 22.04.

One extra complication here is that we renamed the header guard,
so we need to compat with both old and new guard define.

Reviewed-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Link: https://patch.msgid.link/20251207013848.1692990-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-12-08 23:53:17 -08:00
..
generated tools: ynl: enable codegen for TC 2025-05-21 12:38:23 -07:00
lib tools: ynl: fix string attribute length to include null terminator 2025-10-27 16:47:29 -07:00
pyynl tools: ynl: add schema checking 2025-11-28 19:53:19 -08:00
samples ynl: samples: Fix spelling mistake "failedq" -> "failed" 2025-12-01 11:54:09 -08:00
tests tools: ynl: add YNL test framework 2025-11-26 17:58:49 -08:00
ynltool tools: ynltool: ignore *.d deps files 2025-11-18 17:35:52 -08:00
Makefile tools: ynl: add a lint makefile target 2025-11-28 19:53:19 -08:00
Makefile.deps tools: ynl: fix build on systems with old kernel headers 2025-12-08 23:53:17 -08:00
pyproject.toml tools: ynl: add initial pyproject.toml for packaging 2025-01-09 12:53:27 -08:00
requirements.txt tools: ynl: add the Python requirements.txt file 2023-03-24 19:11:02 -07:00
ynl-regen.sh tools: ynl: move python code to separate sub-directory 2025-01-09 12:53:27 -08:00