summaryrefslogtreecommitdiff
path: root/tools/net/ynl/Makefile.deps
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-02-02 03:49:24 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-03 08:15:52 +0300
commit8f109e91b852f159b917f5c565bcf43c26d974e2 (patch)
tree57ddfb6e3d4d3e5cd671e41f65d95e855b4a3feb /tools/net/ynl/Makefile.deps
parentdfd2ee086a63c730022cb095576a8b3a5a752109 (diff)
downloadlinux-8f109e91b852f159b917f5c565bcf43c26d974e2.tar.xz
tools: ynl: include dpll and mptcp_pm in C codegen
The DPLL and mptcp_pm families are pretty clean, and YNL C codegen supports them fully with no changes. Add them to user space codegen so that C samples can be written, and we know immediately if changes to these families require YNL codegen work. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20240202004926.447803-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/Makefile.deps')
-rw-r--r--tools/net/ynl/Makefile.deps2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/net/ynl/Makefile.deps b/tools/net/ynl/Makefile.deps
index 3110f84dd029..e6154a1255f8 100644
--- a/tools/net/ynl/Makefile.deps
+++ b/tools/net/ynl/Makefile.deps
@@ -15,7 +15,9 @@ UAPI_PATH:=../../../../include/uapi/
get_hdr_inc=-D$(1) -include $(UAPI_PATH)/linux/$(2)
CFLAGS_devlink:=$(call get_hdr_inc,_LINUX_DEVLINK_H_,devlink.h)
+CFLAGS_dpll:=$(call get_hdr_inc,_LINUX_DPLL_H_,dpll.h)
CFLAGS_ethtool:=$(call get_hdr_inc,_LINUX_ETHTOOL_NETLINK_H_,ethtool_netlink.h)
CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HANDSHAKE_H,handshake.h)
+CFLAGS_mptcp_pm:=$(call get_hdr_inc,_LINUX_MPTCP_PM_H_,mptcp_pm.h)
CFLAGS_netdev:=$(call get_hdr_inc,_LINUX_NETDEV_H,netdev.h)
CFLAGS_nfsd:=$(call get_hdr_inc,_LINUX_NFSD_NETLINK_H,nfsd_netlink.h)