Skip to content

Commit 9cf9b57

Browse files
committed
tools: ynl: order building samples after generated code
Parallel builds of ynl: make -C tools/net/ynl/ -j 4 don't work correctly right now. samples get handled before generated, so build of samples does not notice that protos.a has changed. Order samples to be last. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9290037 commit 9cf9b57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/net/ynl/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ SUBDIRS = lib generated samples
44

55
all: $(SUBDIRS)
66

7+
samples: | lib generated
8+
79
$(SUBDIRS):
810
@if [ -f "$@/Makefile" ] ; then \
911
$(MAKE) -C $@ ; \

0 commit comments

Comments
 (0)