diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-06-05 22:01:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-06 22:31:31 +0300 |
commit | 86878f14d71af89149a955122afd8b7af1ee9bf2 (patch) | |
tree | 6c98d2b17a645381a9a3b0d945462c2333d2c599 /tools/net/ynl/Makefile | |
parent | a99bfdf647953f8ac4ae71f373113e8ac194f1c0 (diff) | |
download | linux-86878f14d71af89149a955122afd8b7af1ee9bf2.tar.xz |
tools: ynl: user space helpers
Add "fixed" part of the user space Netlink Spec-based library.
This will get linked with the protocol implementations to form
a full API.
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/Makefile')
-rw-r--r-- | tools/net/ynl/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/net/ynl/Makefile b/tools/net/ynl/Makefile new file mode 100644 index 000000000000..d664b36deb5b --- /dev/null +++ b/tools/net/ynl/Makefile @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: GPL-2.0 + +SUBDIRS = lib generated samples + +all: $(SUBDIRS) + +$(SUBDIRS): + @if [ -f "$@/Makefile" ] ; then \ + $(MAKE) -C $@ ; \ + fi + +clean hardclean: + @for dir in $(SUBDIRS) ; do \ + if [ -f "$$dir/Makefile" ] ; then \ + $(MAKE) -C $$dir $@; \ + fi \ + done + +.PHONY: clean all $(SUBDIRS) |