summaryrefslogtreecommitdiff
path: root/etc/etc.macppc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-07-22 09:30:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-07-22 09:30:55 +0000
commita9b4c06ebf41cc104b32ac8b53f1216d9f43366b (patch)
tree0d13349816cc5f7b911f32ff2e178f3a11e5d3a6 /etc/etc.macppc
parent180b3f32fdc59ec916e5236e2f6f2445b1698cc7 (diff)
unify kernel building on various platforms.
feedback from miod@ and deraadt@
Diffstat (limited to 'etc/etc.macppc')
-rw-r--r--etc/etc.macppc/Makefile.inc24
1 files changed, 3 insertions, 21 deletions
diff --git a/etc/etc.macppc/Makefile.inc b/etc/etc.macppc/Makefile.inc
index 28dceca23f4..121aca6e277 100644
--- a/etc/etc.macppc/Makefile.inc
+++ b/etc/etc.macppc/Makefile.inc
@@ -1,28 +1,10 @@
-# $OpenBSD: Makefile.inc,v 1.15 2011/04/15 03:11:38 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.16 2011/07/22 09:30:54 espie Exp $
-kernels: bsd bsd.mp bootblocks
- cp ${.CURDIR}/../sys/arch/macppc/compile/GENERIC/bsd \
- ${RELEASEDIR}/bsd
- cp ${.CURDIR}/../sys/arch/macppc/compile/GENERIC.MP/bsd \
- ${RELEASEDIR}/bsd.mp
-
-bsd:
- cd ${.CURDIR}/../sys/arch/macppc/conf && config GENERIC
- cd ${.CURDIR}/../sys/arch/macppc/compile/GENERIC && \
- ${MAKE} clean && exec ${MAKE}
-
-bsd.mp:
- cd ${.CURDIR}/../sys/arch/macppc/conf && config GENERIC.MP
- cd ${.CURDIR}/../sys/arch/macppc/compile/GENERIC.MP && \
- ${MAKE} clean && exec ${MAKE}
+KERNELS += GENERIC.MP bsd.mp
bootblocks:
cp ${DESTDIR}/usr/mdec/ofwboot ${RELEASEDIR}/ofwboot
cp ${DESTDIR}/usr/mdec/bsd.tbxi ${RELEASEDIR}/bsd.tbxi
cp ${DESTDIR}/usr/mdec/boot.mac ${RELEASEDIR}/boot.mac
-MDEXT= bsd bsd.mp bsd.rd cd${OSrev}.iso \
- ofwboot bsd.tbxi boot.mac
-
-.PHONY: bsd bsd.mp bootblocks
-
+MDEXT= bsd.rd cd${OSrev}.iso ofwboot bsd.tbxi boot.mac