summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2022-12-16 19:03:41 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2022-12-16 19:03:41 +0100
commit7b6c9649775b288653b0d61df6004d79f0d83ccf (patch)
treec9c6c5393a0998bd37d716877f7033b11f551b02 /sysdep
parent1e47b9f203aaaad0fb658d40a1670f1d0437f1f8 (diff)
BSD: Add missing makefile for bsd-netlink target
Use symlinks to linux/netlink* to avoid limitations of our buildsystem.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/bsd-netlink/Makefile6
l---------sysdep/bsd-netlink/netlink.Y1
l---------sysdep/bsd-netlink/netlink.c1
3 files changed, 8 insertions, 0 deletions
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