Skip to content

Commit 83dcd08

Browse files
committed
ynl-gen-cpp: support for generating all rt- family
This patch enables generation for all rt- family and adds a rt-route test in samples/ Signed-off-by: Zibo Gong <[email protected]>
1 parent 712f388 commit 83dcd08

File tree

9 files changed

+2856
-1
lines changed

9 files changed

+2856
-1
lines changed

generated/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ TOOL:=../ynl-gen-cpp.py
1515

1616
GENS_PATHS=$(shell grep -nrI --files-without-match \
1717
'protocol: netlink' ../Documentation/netlink/specs/)
18+
GENS_PATHS+=$(wildcard ../Documentation/netlink/specs/rt-*.yaml)
1819
GENS_ALL=$(patsubst ../Documentation/netlink/specs/%.yaml,%,${GENS_PATHS})
19-
GENS=rt-addr rt-link $(filter-out devlink ovs_datapath ovs_flow ovs_vport nlctrl,${GENS_ALL})
20+
GENS=$(filter-out devlink ovs_datapath ovs_flow ovs_vport nlctrl,${GENS_ALL})
2021
SRCS=$(patsubst %,%-user.cpp,${GENS})
2122
HDRS=$(patsubst %,%-user.hpp,${GENS})
2223
OBJS=$(patsubst %,%-user.cpp.o,${GENS})

0 commit comments

Comments
 (0)