diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-11-29 11:36:21 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-11-29 16:07:00 -0800 |
commit | 9cf9b57082411ad42d6d12c7b857e60add673877 (patch) | |
tree | 297a54858fbbb984214fa26b5e142f5b2219528d /tools/net/ynl/Makefile | |
parent | 929003723f6d1998155bf0472f97d6c75c3db93f (diff) |
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/20231129193622.2912353-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/Makefile')
-rw-r--r-- | tools/net/ynl/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/net/ynl/Makefile b/tools/net/ynl/Makefile index d664b36deb5b..da1aa10bbcc3 100644 --- a/tools/net/ynl/Makefile +++ b/tools/net/ynl/Makefile @@ -4,6 +4,8 @@ SUBDIRS = lib generated samples all: $(SUBDIRS) +samples: | lib generated + $(SUBDIRS): @if [ -f "$@/Makefile" ] ; then \ $(MAKE) -C $@ ; \ |