summaryrefslogtreecommitdiff
path: root/distrib/syspatch/Makefile.000
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/syspatch/Makefile.000')
-rw-r--r--distrib/syspatch/Makefile.00024
1 files changed, 24 insertions, 0 deletions
diff --git a/distrib/syspatch/Makefile.000 b/distrib/syspatch/Makefile.000
new file mode 100644
index 00000000000..03fdc73a5a8
--- /dev/null
+++ b/distrib/syspatch/Makefile.000
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile.000,v 1.1 2016/09/03 21:43:25 robert Exp $
+
+# Set ERRATA to match the errata on the mirrors
+ERRATA= 000_dummy
+
+# Set BUILD to the type of the errata so that it can be built properly
+# src - run make targets in the specified subdir(s) for base
+# kernel - build both GENERIC and GENERIC.MP
+# xenocara - run make targets in the specified subdir(s) for xenocara
+# BUILD = ??? (defaults to src)
+
+# Set SUBDIR to the directory where the patch gets applied and needs
+# to be built. Multiple directories can be defined in case a library
+# errata requires us to rebuild statically linked binaries.
+# SUBDIR = ??? (defaults to empty)
+# SUBDIR+= ???
+#
+# A helper target called `findstatic' is available so that a list of
+# directories can be created. `make -f Makefile.000 LIB=util findstatic'
+# will give a list of directories that have to be added to SUBDIR because
+# they statically link libutil.
+# This is a best-guess function so a manual check is always necessary.
+
+.include <bsd.syspatch.mk>