From 682b4ba85c22ab9862304cb883a7234373e3f893 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 3 Jul 2012 17:52:57 -0400 Subject: script->make, ccache move Convert build iteration logic (stage 2) from list driven to Makefile driven. Add actual dependencies to recipe files and use them to control build sequence. ccache is moved to stage1 and configured to be used in stage2. --- macros.bashrc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 macros.bashrc (limited to 'macros.bashrc') diff --git a/macros.bashrc b/macros.bashrc new file mode 100644 index 0000000..7e265c6 --- /dev/null +++ b/macros.bashrc @@ -0,0 +1,27 @@ +#!/bin/bash + +mkdirp() +{ + test -d $1 || mkdir -p $1 +} + +go() +{ + "$0" "$@" +} + +mcd() +{ + test -d $1 || mkdir -p $1 + cd $1 +} + +notparallel() +{ + echo .NOTPARALLEL: >> Makefile +} + +if [ -f $MYDIR/local.conf ] +then + . $MYDIR/local.conf +fi -- cgit