[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231129193622.2912353-4-kuba@kernel.org>
Date: Wed, 29 Nov 2023 11:36:21 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>,
sdf@...gle.com,
willemb@...gle.com
Subject: [PATCH net-next 3/4] 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.
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: sdf@...gle.com
CC: willemb@...gle.com
---
tools/net/ynl/Makefile | 2 ++
1 file changed, 2 insertions(+)
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 "$@...kefile" ] ; then \
$(MAKE) -C $@ ; \
--
2.43.0
Powered by blists - more mailing lists