From 828e58f9fa7c532a50ac0e55d3f550e4dd8456c5 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Wed, 30 Apr 2008 23:05:33 +0000 Subject: [PATCH] Enforce proper sequencing of world and kernel targets. .ORDER: does *not* take an arbitrary list of targets of which all pairs are supposed to be built in their specified sequence, instead it specifies which adjacent pairs need to be built in sequence. As a result, given a sequence "buildworld buildkernel quickkernel" and the make targets "buildworld" and "quickkernel", make would still parallelize the build of these targets. Additionally, introduce quickworld to the sequencing. --- Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4ad2ce1000..26e26a8d09 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # # $FreeBSD: src/Makefile,v 1.234.2.19 2003/04/16 09:59:40 ru Exp $ -# $DragonFly: src/Makefile,v 1.23 2008/02/12 02:12:16 dillon Exp $ +# $DragonFly: src/Makefile,v 1.24 2008/04/30 23:05:33 corecode Exp $ # # The user-driven targets are: # @@ -85,9 +85,18 @@ BITGTS:=${BITGTS} ${BITGTS:S/^/build/} ${BITGTS:S/^/install/} .ORDER: buildworld installworld .ORDER: buildworld distributeworld -.ORDER: buildworld buildkernel nativekernel quickkernel -.ORDER: buildkernel nativekernel quickkernel installkernel -.ORDER: buildkernel nativekernel quickkernel reinstallkernel +.ORDER: buildworld buildkernel +.ORDER: buildworld nativekernel +.ORDER: buildworld quickkernel +.ORDER: buildkernel installkernel +.ORDER: buildkernel reinstallkernel +.ORDER: quickworld installworld +.ORDER: quickworld distributeworld +.ORDER: quickworld buildkernel +.ORDER: quickworld nativekernel +.ORDER: quickworld quickkernel +.ORDER: quickkernel installkernel +.ORDER: quickkernel reinstallkernel PATH= /sbin:/bin:/usr/sbin:/usr/bin MAKE= PATH=${PATH} make -m ${.CURDIR}/share/mk -f Makefile.inc1 -- 2.41.0