diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2011-07-22 09:30:55 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2011-07-22 09:30:55 +0000 |
commit | a9b4c06ebf41cc104b32ac8b53f1216d9f43366b (patch) | |
tree | 0d13349816cc5f7b911f32ff2e178f3a11e5d3a6 | |
parent | 180b3f32fdc59ec916e5236e2f6f2445b1698cc7 (diff) |
unify kernel building on various platforms.
feedback from miod@ and deraadt@
-rw-r--r-- | etc/Makefile | 25 | ||||
-rw-r--r-- | etc/etc.alpha/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.amd64/Makefile.inc | 23 | ||||
-rw-r--r-- | etc/etc.armish/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.aviion/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.hp300/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.hppa/Makefile.inc | 23 | ||||
-rw-r--r-- | etc/etc.hppa64/Makefile.inc | 16 | ||||
-rw-r--r-- | etc/etc.i386/Makefile.inc | 22 | ||||
-rw-r--r-- | etc/etc.landisk/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.loongson/Makefile.inc | 14 | ||||
-rw-r--r-- | etc/etc.luna88k/Makefile.inc | 17 | ||||
-rw-r--r-- | etc/etc.mac68k/Makefile.inc | 16 | ||||
-rw-r--r-- | etc/etc.macppc/Makefile.inc | 24 | ||||
-rw-r--r-- | etc/etc.mvme68k/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.mvme88k/Makefile.inc | 22 | ||||
-rw-r--r-- | etc/etc.palm/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.sgi/Makefile.inc | 32 | ||||
-rw-r--r-- | etc/etc.socppc/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.sparc/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.sparc64/Makefile.inc | 22 | ||||
-rw-r--r-- | etc/etc.vax/Makefile.inc | 15 | ||||
-rw-r--r-- | etc/etc.zaurus/Makefile.inc | 15 |
23 files changed, 79 insertions, 342 deletions
diff --git a/etc/Makefile b/etc/Makefile index 2972cc44bf8..19faf416def 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.308 2011/07/17 00:28:04 david Exp $ +# $OpenBSD: Makefile,v 1.309 2011/07/22 09:30:54 espie Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -6,10 +6,27 @@ MTREEDIR= /etc/mtree NOOBJ= +KERNELS = GENERIC bsd + .if exists(etc.${MACHINE}/Makefile.inc) .include "etc.${MACHINE}/Makefile.inc" .endif +.for CONF K in ${KERNELS} +. if !target($K) +$K: + cd ../sys/arch/${MACHINE}/conf && config ${CONF} + cd ../sys/arch/${MACHINE}/compile/${CONF} && \ + ${MAKE} clean && exec ${MAKE} +. endif +ALL_KERNELS += $K +.endfor + +kernels: bootblocks ${ALL_KERNELS} +.for CONF K in ${KERNELS} + cp ../sys/arch/${MACHINE}/compile/${CONF}/bsd ${RELEASEDIR}/$K +.endfor + # -rw-r--r-- BINOWN= root BINGRP= wheel @@ -295,7 +312,7 @@ release-sets: sha: -cd ${RELEASEDIR}; \ - sum -a sha256 INSTALL.`arch -ks` ${MDEXT} ${MISETS} > SHA256 + sum -a sha256 INSTALL.`arch -ks` ${ALL_KERNELS} ${MDEXT} ${MISETS} > SHA256 release: distribution kernels release-sets distrib sha @@ -319,7 +336,9 @@ update-moduli: ) > moduli .PHONY: distribution-etc-root-var distribution distrib-dirs \ - release allarchs kernels release-sets m4 install-mtree + release allarchs kernels release-sets m4 install-mtree \ + bootblocks ${ALL_KERNELS} + SUBDIR+= etc.alpha etc.amd64 etc.armish etc.aviion etc.hp300 etc.hppa SUBDIR+= etc.hppa64 etc.i386 etc.landisk etc.loongson etc.luna88k diff --git a/etc/etc.alpha/Makefile.inc b/etc/etc.alpha/Makefile.inc index 60bbe584d70..8a9a5d1a7ba 100644 --- a/etc/etc.alpha/Makefile.inc +++ b/etc/etc.alpha/Makefile.inc @@ -1,21 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.20 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/alpha/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/alpha/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/alpha/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.21 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/boot ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/bootxx ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/netboot ${RELEASEDIR} -MDEXT= bsd bsd.rd cd${OSrev}.iso \ +MDEXT= bsd.rd cd${OSrev}.iso \ floppy${OSrev}.fs floppyB${OSrev}.fs \ boot bootxx netboot - -.PHONY: bsd bootblocks diff --git a/etc/etc.amd64/Makefile.inc b/etc/etc.amd64/Makefile.inc index f9d322aa017..564de071902 100644 --- a/etc/etc.amd64/Makefile.inc +++ b/etc/etc.amd64/Makefile.inc @@ -1,27 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.12 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.13 2011/07/22 09:30:54 espie Exp $ -kernels: bsd bsd.mp bootblocks - cp ${.CURDIR}/../sys/arch/amd64/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - cp ${.CURDIR}/../sys/arch/amd64/compile/GENERIC.MP/bsd \ - ${RELEASEDIR}/bsd.mp - -bsd: - cd ${.CURDIR}/../sys/arch/amd64/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/amd64/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} - -bsd.mp: - cd ${.CURDIR}/../sys/arch/amd64/conf && config GENERIC.MP - cd ${.CURDIR}/../sys/arch/amd64/compile/GENERIC.MP && \ - ${MAKE} clean && exec ${MAKE} +KERNELS += GENERIC.MP bsd.mp bootblocks: cp ${DESTDIR}/usr/mdec/pxeboot ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/cdboot ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/cdbr ${RELEASEDIR} -MDEXT= bsd bsd.mp bsd.rd cd${OSrev}.iso \ - floppy${OSrev}.fs pxeboot cdboot cdbr - -.PHONY: bsd bsd.mp bootblocks +MDEXT= bsd.rd cd${OSrev}.iso floppy${OSrev}.fs pxeboot cdboot cdbr diff --git a/etc/etc.armish/Makefile.inc b/etc/etc.armish/Makefile.inc index fce2fc533b3..b5cd3281764 100644 --- a/etc/etc.armish/Makefile.inc +++ b/etc/etc.armish/Makefile.inc @@ -1,17 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.8 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/armish/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/armish/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/armish/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.9 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/boot ${RELEASEDIR} -MDEXT= bsd bsd.rd boot - -.PHONY: bsd bootblocks +MDEXT= bsd.rd boot diff --git a/etc/etc.aviion/Makefile.inc b/etc/etc.aviion/Makefile.inc index 8d3aae476d7..f7615f1f87f 100644 --- a/etc/etc.aviion/Makefile.inc +++ b/etc/etc.aviion/Makefile.inc @@ -1,17 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.5 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/aviion/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/aviion/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/aviion/compile/GENERIC && \ - ${MAKE} clean && ${MAKE} +# $OpenBSD: Makefile.inc,v 1.6 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/* ${RELEASEDIR}/ -MDEXT= bsd bsd.rd # bootblocks? - -.PHONY: bsd bootblocks +MDEXT= bsd.rd # bootblocks? diff --git a/etc/etc.hp300/Makefile.inc b/etc/etc.hp300/Makefile.inc index 66d85936d95..d410ec5f1e9 100644 --- a/etc/etc.hp300/Makefile.inc +++ b/etc/etc.hp300/Makefile.inc @@ -1,18 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.22 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/hp300/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/hp300/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/hp300/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.23 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/uboot.lif ${RELEASEDIR}/SYS_UBOOT cp ${DESTDIR}/usr/mdec/cdboot.lif ${RELEASEDIR}/SYS_CDBOOT -MDEXT= bsd bsd.rd SYS_UBOOT SYS_CDBOOT - -.PHONY: bsd bootblocks +MDEXT= bsd.rd SYS_UBOOT SYS_CDBOOT diff --git a/etc/etc.hppa/Makefile.inc b/etc/etc.hppa/Makefile.inc index 49330f90e32..2b2bf2c4ca1 100644 --- a/etc/etc.hppa/Makefile.inc +++ b/etc/etc.hppa/Makefile.inc @@ -1,25 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.11 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.12 2011/07/22 09:30:54 espie Exp $ -kernels: bootblocks bsd bsd.mp - cp ${.CURDIR}/../sys/arch/hppa/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - cp ${.CURDIR}/../sys/arch/hppa/compile/GENERIC.MP/bsd \ - ${RELEASEDIR}/bsd.mp - -bsd: - cd ${.CURDIR}/../sys/arch/hppa/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/hppa/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} - -bsd.mp: - cd ${.CURDIR}/../sys/arch/hppa/conf && config GENERIC.MP - cd ${.CURDIR}/../sys/arch/hppa/compile/GENERIC.MP && \ - ${MAKE} clean && exec ${MAKE} +KERNELS += GENERIC.MP bsd.mp bootblocks: cp ${DESTDIR}/usr/mdec/xxboot ${RELEASEDIR} -MDEXT= bsd bsd.mp bsd.rd cd${OSrev}.iso lif${OSrev}.fs \ - xxboot - -.PHONY: bsd bsd.mp bootblocks +MDEXT= bsd.rd cd${OSrev}.iso lif${OSrev}.fs xxboot diff --git a/etc/etc.hppa64/Makefile.inc b/etc/etc.hppa64/Makefile.inc index ece06ff1283..b9288aacf5d 100644 --- a/etc/etc.hppa64/Makefile.inc +++ b/etc/etc.hppa64/Makefile.inc @@ -1,18 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.7 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bootblocks bsd - cp ${.CURDIR}/../sys/arch/hppa64/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/hppa64/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/hppa64/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.8 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/xxboot ${RELEASEDIR} -MDEXT= bsd bsd.rd cd${OSrev}.iso lif${OSrev}.fs \ - xxboot - -.PHONY: bootblocks bsd +MDEXT= bsd.rd cd${OSrev}.iso lif${OSrev}.fs xxboot diff --git a/etc/etc.i386/Makefile.inc b/etc/etc.i386/Makefile.inc index 93b93ce70fb..4673b0d93bd 100644 --- a/etc/etc.i386/Makefile.inc +++ b/etc/etc.i386/Makefile.inc @@ -1,20 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.19 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.20 2011/07/22 09:30:54 espie Exp $ -kernels: bsd bsd.mp bootblocks linux-notes - cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC.MP/bsd \ - ${RELEASEDIR}/bsd.mp +KERNELS += GENERIC.MP bsd.mp -bsd: - cd ${.CURDIR}/../sys/arch/i386/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/i386/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} - -bsd.mp: - cd ${.CURDIR}/../sys/arch/i386/conf && config GENERIC.MP - cd ${.CURDIR}/../sys/arch/i386/compile/GENERIC.MP && \ - ${MAKE} clean && exec ${MAKE} +kernels: linux-notes bootblocks: cp ${DESTDIR}/usr/mdec/pxeboot ${RELEASEDIR} @@ -24,8 +12,6 @@ bootblocks: linux-notes: cp ${.CURDIR}/etc.i386/INSTALL.* ${RELEASEDIR} -MDEXT= bsd bsd.mp bsd.rd cd${OSrev}.iso cdemu${OSrev}.iso \ +MDEXT= bsd.rd cd${OSrev}.iso cdemu${OSrev}.iso \ floppy${OSrev}.fs floppyB${OSrev}.fs floppyC${OSrev}.fs \ pxeboot cdboot cdbr INSTALL.linux - -.PHONY: bsd bsd.mp bootblocks diff --git a/etc/etc.landisk/Makefile.inc b/etc/etc.landisk/Makefile.inc index 90c581fee5f..302b170763f 100644 --- a/etc/etc.landisk/Makefile.inc +++ b/etc/etc.landisk/Makefile.inc @@ -1,19 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.7 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/landisk/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/landisk/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/landisk/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.8 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/mbr ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/xxboot ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/boot ${RELEASEDIR} -MDEXT= bsd mbr bsd.rd xxboot boot miniroot${OSrev}.fs - -.PHONY: bsd bootblocks +MDEXT= mbr bsd.rd xxboot boot miniroot${OSrev}.fs diff --git a/etc/etc.loongson/Makefile.inc b/etc/etc.loongson/Makefile.inc index 71d0f293778..b93284675ab 100644 --- a/etc/etc.loongson/Makefile.inc +++ b/etc/etc.loongson/Makefile.inc @@ -1,16 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.4 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/loongson/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd -bsd: - cd ${.CURDIR}/../sys/arch/loongson/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/loongson/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.5 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/boot ${RELEASEDIR} -MDEXT= bsd bsd.rd boot miniroot${OSrev}.fs - -.PHONY: bsd bootblocks +MDEXT= bsd.rd boot miniroot${OSrev}.fs diff --git a/etc/etc.luna88k/Makefile.inc b/etc/etc.luna88k/Makefile.inc index 94966c6c2d2..6006bf6b3bf 100644 --- a/etc/etc.luna88k/Makefile.inc +++ b/etc/etc.luna88k/Makefile.inc @@ -1,15 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.5 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.6 2011/07/22 09:30:54 espie Exp $ -kernels: bsd - cp ${.CURDIR}/../sys/arch/luna88k/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/luna88k/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/luna88k/compile/GENERIC && \ - ${MAKE} clean && ${MAKE} - -MDEXT= bsd bsd.rd - -.PHONY: bsd +bootblocks: + # XXX no bootblocks ? +MDEXT= bsd.rd diff --git a/etc/etc.mac68k/Makefile.inc b/etc/etc.mac68k/Makefile.inc index eb447779093..9186d5619fd 100644 --- a/etc/etc.mac68k/Makefile.inc +++ b/etc/etc.mac68k/Makefile.inc @@ -1,14 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.14 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.15 2011/07/22 09:30:54 espie Exp $ -kernels: bsd - cp ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd +bootblocks: + # XXX no bootblocks ? -bsd: - cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} - -MDEXT= bsd bsd.rd # utils?? - -.PHONY: bsd +MDEXT= bsd.rd # utils?? 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 diff --git a/etc/etc.mvme68k/Makefile.inc b/etc/etc.mvme68k/Makefile.inc index 3cb4902bef4..9d1ecd664a9 100644 --- a/etc/etc.mvme68k/Makefile.inc +++ b/etc/etc.mvme68k/Makefile.inc @@ -1,18 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.13 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/mvme68k/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/mvme68k/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/mvme68k/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.14 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/* ${RELEASEDIR}/ -MDEXT= bsd bsd.rd \ +MDEXT= bsd.rd \ installboot netboot rboot sboot stboot bootsd bootst bootxx - -.PHONY: bsd bootblocks diff --git a/etc/etc.mvme88k/Makefile.inc b/etc/etc.mvme88k/Makefile.inc index aa1d27fae55..0861a069f60 100644 --- a/etc/etc.mvme88k/Makefile.inc +++ b/etc/etc.mvme88k/Makefile.inc @@ -1,25 +1,9 @@ -# $OpenBSD: Makefile.inc,v 1.13 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.14 2011/07/22 09:30:54 espie Exp $ -kernels: bsd bsd.mp bootblocks - cp ${.CURDIR}/../sys/arch/mvme88k/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - cp ${.CURDIR}/../sys/arch/mvme88k/compile/GENERIC.MP/bsd \ - ${RELEASEDIR}/bsd.mp - -bsd: - cd ${.CURDIR}/../sys/arch/mvme88k/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/mvme88k/compile/GENERIC && \ - ${MAKE} clean && ${MAKE} - -bsd.mp: - cd ${.CURDIR}/../sys/arch/mvme88k/conf && config GENERIC.MP - cd ${.CURDIR}/../sys/arch/mvme88k/compile/GENERIC.MP && \ - ${MAKE} clean && ${MAKE} +KERNELS += CONFIG.MP bsd.mp bootblocks: cp ${DESTDIR}/usr/mdec/* ${RELEASEDIR}/ -MDEXT= bsd bsd.mp bsd.rd \ +MDEXT= bsd.rd \ bootsd bootst bootxx installboot netboot stboot tftpboot - -.PHONY: bsd bsd.mp bootblocks diff --git a/etc/etc.palm/Makefile.inc b/etc/etc.palm/Makefile.inc index 9126425b54b..d9043db1ed8 100644 --- a/etc/etc.palm/Makefile.inc +++ b/etc/etc.palm/Makefile.inc @@ -1,18 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.2 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/palm/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/palm/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/palm/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.3 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/zboot ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/zbsdmod.o ${RELEASEDIR} -MDEXT= bsd bsd.rd Packages - -.PHONY: bsd bootblocks +MDEXT= bsd.rd Packages diff --git a/etc/etc.sgi/Makefile.inc b/etc/etc.sgi/Makefile.inc index 8bf6c14f68c..d319b7aef26 100644 --- a/etc/etc.sgi/Makefile.inc +++ b/etc/etc.sgi/Makefile.inc @@ -1,35 +1,11 @@ -# $OpenBSD: Makefile.inc,v 1.13 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.14 2011/07/22 09:30:54 espie Exp $ -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP27/bsd \ - ${RELEASEDIR}/bsd.IP27 - cp ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP30/bsd \ - ${RELEASEDIR}/bsd.IP30 - cp ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP30.MP/bsd \ - ${RELEASEDIR}/bsd.mp.IP30 - cp ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP32/bsd \ - ${RELEASEDIR}/bsd.IP32 - -bsd: - cd ${.CURDIR}/../sys/arch/sgi/conf && config GENERIC-IP27 - cd ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP27 && \ - ${MAKE} clean && exec ${MAKE} - cd ${.CURDIR}/../sys/arch/sgi/conf && config GENERIC-IP30 - cd ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP30 && \ - ${MAKE} clean && exec ${MAKE} - cd ${.CURDIR}/../sys/arch/sgi/conf && config GENERIC-IP30.MP - cd ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP30.MP && \ - ${MAKE} clean && exec ${MAKE} - cd ${.CURDIR}/../sys/arch/sgi/conf && config GENERIC-IP32 - cd ${.CURDIR}/../sys/arch/sgi/compile/GENERIC-IP32 && \ - ${MAKE} clean && exec ${MAKE} +KERNELS = GENERIC-IP27 bsd.IP27 GENERIC-IP30 bsd.IP30 \ + GENERIC-IP30.MP bsd.mp.IP30 GENERIC-IP32 bsd.IP32 bootblocks: cp ${DESTDIR}/usr/mdec/boot32 ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/boot64 ${RELEASEDIR} -MDEXT= bsd.IP27 bsd.rd.IP27 bsd.IP30 bsd.mp.IP30 bsd.rd.IP30 \ - bsd.IP32 bsd.rd.IP32 \ +MDEXT= bsd.rd.IP27 bsd.rd.IP30 bsd.rd.IP32 \ boot32 boot64 cd${OSrev}.iso - -.PHONY: bsd bootblocks diff --git a/etc/etc.socppc/Makefile.inc b/etc/etc.socppc/Makefile.inc index 64a8115952b..b8e51f3b7fe 100644 --- a/etc/etc.socppc/Makefile.inc +++ b/etc/etc.socppc/Makefile.inc @@ -1,18 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.6 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/socppc/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/socppc/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/socppc/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.7 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/boot ${RELEASEDIR}/boot cp ${DESTDIR}/usr/mdec/boot.elf ${RELEASEDIR}/boot.elf -MDEXT= bsd bsd.bin bsd.rd boot boot.elf miniroot${OSrev}.fs - -.PHONY: bsd bootblocks +MDEXT= bsd.bin bsd.rd boot boot.elf miniroot${OSrev}.fs diff --git a/etc/etc.sparc/Makefile.inc b/etc/etc.sparc/Makefile.inc index a88fc0644d3..89996f94f5b 100644 --- a/etc/etc.sparc/Makefile.inc +++ b/etc/etc.sparc/Makefile.inc @@ -1,21 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.20 2011/06/15 21:36:50 miod Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/sparc/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/sparc/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/sparc/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.21 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/*boot* ${RELEASEDIR} ${DESTDIR}/usr/mdec/binstall net /tmp && \ mv /tmp/boot.sparc.openbsd ${RELEASEDIR}/boot.net -MDEXT= bsd bsd.rd cd${OSrev}.iso \ +MDEXT= bsd.rd cd${OSrev}.iso \ floppy${OSrev}.fs miniroot${OSrev}.fs \ boot boot.net bootxx installboot - -.PHONY: bsd bootblocks diff --git a/etc/etc.sparc64/Makefile.inc b/etc/etc.sparc64/Makefile.inc index 91036fb2aed..310b1253681 100644 --- a/etc/etc.sparc64/Makefile.inc +++ b/etc/etc.sparc64/Makefile.inc @@ -1,26 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.10 2011/04/15 03:11:38 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.11 2011/07/22 09:30:54 espie Exp $ -kernels: bsd bsd.mp bootblocks - cp ${.CURDIR}/../sys/arch/sparc64/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - cp ${.CURDIR}/../sys/arch/sparc64/compile/GENERIC.MP/bsd \ - ${RELEASEDIR}/bsd.mp - -bsd: - cd ${.CURDIR}/../sys/arch/sparc64/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/sparc64/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} - -bsd.mp: - cd ${.CURDIR}/../sys/arch/sparc64/conf && config GENERIC.MP - cd ${.CURDIR}/../sys/arch/sparc64/compile/GENERIC.MP && \ - ${MAKE} clean && ${MAKE} depend && exec ${MAKE} +KERNELS += GENERIC.MP bsd.mp bootblocks: cp ${DESTDIR}/usr/mdec/*boot* ${RELEASEDIR} -MDEXT= bsd bsd.mp bsd.rd cd${OSrev}.iso \ +MDEXT= bsd.rd cd${OSrev}.iso \ miniroot${OSrev}.fs floppy${OSrev}.fs floppyB${OSrev}.fs \ bootblk installboot ofwboot ofwboot.net - -.PHONY: bsd bsd.mp bootblocks diff --git a/etc/etc.vax/Makefile.inc b/etc/etc.vax/Makefile.inc index 9115512271a..83dc0236150 100644 --- a/etc/etc.vax/Makefile.inc +++ b/etc/etc.vax/Makefile.inc @@ -1,17 +1,6 @@ -# $OpenBSD: Makefile.inc,v 1.11 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/vax/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/vax/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/vax/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.12 2011/07/22 09:30:54 espie Exp $ bootblocks: mopa.out ${DESTDIR}/usr/mdec/boot ${RELEASEDIR}/boot.mop -MDEXT= bsd bsd.rd boot.mop cd${OSrev}.iso floppy${OSrev}.fs - -.PHONY: bsd bootblocks +MDEXT= bsd.rd boot.mop cd${OSrev}.iso floppy${OSrev}.fs diff --git a/etc/etc.zaurus/Makefile.inc b/etc/etc.zaurus/Makefile.inc index 7908a2ffc12..755dea35f2e 100644 --- a/etc/etc.zaurus/Makefile.inc +++ b/etc/etc.zaurus/Makefile.inc @@ -1,18 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.10 2011/04/15 03:11:38 deraadt Exp $ - -kernels: bsd bootblocks - cp ${.CURDIR}/../sys/arch/zaurus/compile/GENERIC/bsd \ - ${RELEASEDIR}/bsd - -bsd: - cd ${.CURDIR}/../sys/arch/zaurus/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/zaurus/compile/GENERIC && \ - ${MAKE} clean && exec ${MAKE} +# $OpenBSD: Makefile.inc,v 1.11 2011/07/22 09:30:54 espie Exp $ bootblocks: cp ${DESTDIR}/usr/mdec/zboot ${RELEASEDIR} cp ${DESTDIR}/usr/mdec/zbsdmod.o ${RELEASEDIR} -MDEXT= bsd bsd.rd zboot zbsdmod.o openbsd${OSrev}_arm.ipk Packages - -.PHONY: bsd bootblocks +MDEXT= bsd.rd zboot zbsdmod.o openbsd${OSrev}_arm.ipk Packages |