]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BSD: Add missing makefile for bsd-netlink target
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 16 Dec 2022 18:03:41 +0000 (19:03 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 16 Dec 2022 18:03:41 +0000 (19:03 +0100)
Use symlinks to linux/netlink* to avoid limitations of our buildsystem.

sysdep/bsd-netlink/Makefile [new file with mode: 0644]
sysdep/bsd-netlink/netlink.Y [new symlink]
sysdep/bsd-netlink/netlink.c [new symlink]

diff --git a/sysdep/bsd-netlink/Makefile b/sysdep/bsd-netlink/Makefile
new file mode 100644 (file)
index 0000000..188ac8d
--- /dev/null
@@ -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 (symlink)
index 0000000..cde7f01
--- /dev/null
@@ -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 (symlink)
index 0000000..d925756
--- /dev/null
@@ -0,0 +1 @@
+../linux/netlink.c
\ No newline at end of file