summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/boot0/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/pc98/boot0/Makefile')
-rw-r--r--sys/boot/pc98/boot0/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/boot/pc98/boot0/Makefile b/sys/boot/pc98/boot0/Makefile
new file mode 100644
index 0000000..27a2a3a
--- /dev/null
+++ b/sys/boot/pc98/boot0/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PROG= boot0
+OBJS= boot0.o
+NOMAN=
+STRIP=
+BINDIR?= /boot
+BINMODE= 444
+
+ORG= 0x0000
+
+boot0: boot0.out
+ objcopy -S -O binary boot0.out ${.TARGET}
+
+boot0.out: ${OBJS}
+ ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${OBJS}
+
+CLEANFILES+= boot0.out
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud