mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-02 07:43:34 +00:00
tools: net: package libynl for use in selftests
Support building the C YNL userspace library into one big static file. We can then link selftests against it for easy to use C netlink interface. Signed-off-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20240628003253.1694510-14-almasrymina@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -14,7 +14,9 @@ include $(wildcard *.d)
|
||||
all: ynl.a
|
||||
|
||||
ynl.a: $(OBJS)
|
||||
ar rcs $@ $(OBJS)
|
||||
@echo -e "\tAR $@"
|
||||
@ar rcs $@ $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.d *~
|
||||
rm -rf __pycache__
|
||||
|
||||
Reference in New Issue
Block a user