From owner-p4-projects@FreeBSD.ORG Mon Jul 18 16:11:47 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 85A9516A421; Mon, 18 Jul 2005 16:11:46 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DFD516A41F for ; Mon, 18 Jul 2005 16:11:46 +0000 (GMT) (envelope-from soc-saturnero@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3D0643D6A for ; Mon, 18 Jul 2005 16:11:41 +0000 (GMT) (envelope-from soc-saturnero@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6IGBfg3054869 for ; Mon, 18 Jul 2005 16:11:41 GMT (envelope-from soc-saturnero@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6IGBfAl054866 for perforce@freebsd.org; Mon, 18 Jul 2005 16:11:41 GMT (envelope-from soc-saturnero@freebsd.org) Date: Mon, 18 Jul 2005 16:11:41 GMT Message-Id: <200507181611.j6IGBfAl054866@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to soc-saturnero@freebsd.org using -f From: soc-saturnero To: Perforce Change Reviews Cc: Subject: PERFORCE change 80449 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 16:11:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=80449 Change 80449 by soc-saturnero@soc-saturnero_sberta on 2005/07/18 16:11:30 Added installkernel and installworld target. Added cleandir target. Affected files ... .. //depot/projects/soc2005/freesbie/Makefile#4 edit .. //depot/projects/soc2005/freesbie/scripts/cleandir.sh#1 add .. //depot/projects/soc2005/freesbie/scripts/installkernel.sh#1 add .. //depot/projects/soc2005/freesbie/scripts/installworld.sh#1 add .. //depot/projects/soc2005/freesbie/scripts/launch.sh#4 edit Differences ... ==== //depot/projects/soc2005/freesbie/Makefile#4 (text+ko) ==== @@ -5,7 +5,9 @@ # # $FreeBSD$ -all: buildworld buildkernel +all: freesbie + +freesbie: buildworld buildkernel installworld installkernel buildworld: .done_buildworld .done_buildworld: @@ -14,13 +16,29 @@ @sh ./scripts/launch.sh buildworld .tmp_buildworld @mv .tmp_buildworld .done_buildworld -buildkernel: .done_buildworld .done_buildkernel +installworld: .done_installworld +.done_installworld: .done_buildworld + @-rm -f .tmp_installworld + @touch .tmp_installworld + @sh ./scripts/launch.sh installworld .tmp_installworld + @mv .tmp_installworld .done_installworld + +buildkernel: .done_buildkernel .done_buildkernel: @-rm -f .tmp_buildkernel @touch .tmp_buildkernel @sh ./scripts/launch.sh buildkernel .tmp_buildkernel @mv .tmp_buildkernel .done_buildkernel +installkernel: .done_installkernel +.done_installkernel: .done_buildkernel .done_installworld + @-rm -f .tmp_installkernel + @touch .tmp_installkernel + @sh ./scripts/launch.sh installkernel .tmp_installkernel + @mv .tmp_installkernel .done_installkernel clean: @-rm -f .tmp* .done* > /dev/null 2>&1 + +cleandir: clean + @sh ./scripts/launch.sh cleandir ==== //depot/projects/soc2005/freesbie/scripts/launch.sh#4 (text+ko) ==== @@ -25,7 +25,7 @@ TARGET=$1; shift; -if [ -n "$1" ]; then +if [ -n "${1:-}" ]; then LOGFILE=${LOCALDIR}/$1 else LOGFILE=$(mktemp -q /tmp/freesbie.XXXXXX)