From 7b6c9649775b288653b0d61df6004d79f0d83ccf Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 16 Dec 2022 19:03:41 +0100 Subject: [PATCH] BSD: Add missing makefile for bsd-netlink target Use symlinks to linux/netlink* to avoid limitations of our buildsystem. --- sysdep/bsd-netlink/Makefile | 6 ++++++ sysdep/bsd-netlink/netlink.Y | 1 + sysdep/bsd-netlink/netlink.c | 1 + 3 files changed, 8 insertions(+) create mode 100644 sysdep/bsd-netlink/Makefile create mode 120000 sysdep/bsd-netlink/netlink.Y create mode 120000 sysdep/bsd-netlink/netlink.c diff --git a/sysdep/bsd-netlink/Makefile b/sysdep/bsd-netlink/Makefile new file mode 100644 index 00000000..188ac8de --- /dev/null +++ b/sysdep/bsd-netlink/Makefile @@ -0,0 +1,6 @@ +src := netlink.c +obj := $(src-o-files) +$(all-daemon) +$(conf-y-targets): $(s)netlink.Y + +tests_objs := $(tests_objs) $(src-o-files) diff --git a/sysdep/bsd-netlink/netlink.Y b/sysdep/bsd-netlink/netlink.Y new file mode 120000 index 00000000..cde7f012 --- /dev/null +++ b/sysdep/bsd-netlink/netlink.Y @@ -0,0 +1 @@ +../linux/netlink.Y \ No newline at end of file diff --git a/sysdep/bsd-netlink/netlink.c b/sysdep/bsd-netlink/netlink.c new file mode 120000 index 00000000..d9257568 --- /dev/null +++ b/sysdep/bsd-netlink/netlink.c @@ -0,0 +1 @@ +../linux/netlink.c \ No newline at end of file