Make installboot(8) build on all architectures, although currently with
authorjsing <jsing@openbsd.org>
Sat, 18 Jan 2014 01:44:56 +0000 (01:44 +0000)
committerjsing <jsing@openbsd.org>
Sat, 18 Jan 2014 01:44:56 +0000 (01:44 +0000)
non-functional stubs for alpha, armish, armv7, aviion, loongson, luna88k,
mvme68k, mvme88k, octeon, sgi, socppc, sparc and zaurus.

14 files changed:
usr.sbin/installboot/alpha/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/armish/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/armv7/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/aviion/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/loongson/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/luna88k/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/mvme68k/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/mvme88k/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/octeon/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/sgi/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/socppc/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/sparc/Makefile.inc [new file with mode: 0644]
usr.sbin/installboot/stubs.c [new file with mode: 0644]
usr.sbin/installboot/zaurus/Makefile.inc [new file with mode: 0644]

diff --git a/usr.sbin/installboot/alpha/Makefile.inc b/usr.sbin/installboot/alpha/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/armish/Makefile.inc b/usr.sbin/installboot/armish/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/armv7/Makefile.inc b/usr.sbin/installboot/armv7/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/aviion/Makefile.inc b/usr.sbin/installboot/aviion/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/loongson/Makefile.inc b/usr.sbin/installboot/loongson/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/luna88k/Makefile.inc b/usr.sbin/installboot/luna88k/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/mvme68k/Makefile.inc b/usr.sbin/installboot/mvme68k/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/mvme88k/Makefile.inc b/usr.sbin/installboot/mvme88k/Makefile.inc
new file mode 100644 (file)
index 0000000..06d9b79
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:56 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/octeon/Makefile.inc b/usr.sbin/installboot/octeon/Makefile.inc
new file mode 100644 (file)
index 0000000..2ccda28
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:57 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/sgi/Makefile.inc b/usr.sbin/installboot/sgi/Makefile.inc
new file mode 100644 (file)
index 0000000..2ccda28
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:57 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/socppc/Makefile.inc b/usr.sbin/installboot/socppc/Makefile.inc
new file mode 100644 (file)
index 0000000..2ccda28
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:57 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/sparc/Makefile.inc b/usr.sbin/installboot/sparc/Makefile.inc
new file mode 100644 (file)
index 0000000..2ccda28
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:57 jsing Exp $    
+
+SRCS+= stubs.c
diff --git a/usr.sbin/installboot/stubs.c b/usr.sbin/installboot/stubs.c
new file mode 100644 (file)
index 0000000..524cddc
--- /dev/null
@@ -0,0 +1,35 @@
+/*     $OpenBSD: stubs.c,v 1.1 2014/01/18 01:44:57 jsing Exp $ */
+
+/*
+ * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include "installboot.h"
+
+void
+md_init(void)
+{
+       errx(1, "not yet implemented");
+}
+
+void
+md_loadboot(void)
+{
+}
+
+void
+md_installboot(int devfd, char *dev)
+{
+}
diff --git a/usr.sbin/installboot/zaurus/Makefile.inc b/usr.sbin/installboot/zaurus/Makefile.inc
new file mode 100644 (file)
index 0000000..2ccda28
--- /dev/null
@@ -0,0 +1,3 @@
+#      $OpenBSD: Makefile.inc,v 1.1 2014/01/18 01:44:57 jsing Exp $    
+
+SRCS+= stubs.c