commit c8b7c21143775e34dc27a6dd6a9ecfdde7218487
parent c394056a4750fab5c5b227339ab57711f521026f
Author: Daniel Bainton <dpb@driftaway.org>
Date: Mon, 7 Apr 2014 14:09:18 +0300
Define configmk and mkbuild paths in the toplevel mkfile
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/mkfile b/mkfile
@@ -1,16 +1,19 @@
`{ test -e config.mk || cp config.def.mk config.mk }
+configmk = `{pwd}/config.mk
+mkbuild = `{pwd}/mkbuild
+
TARG = stage0
all: $TARG
&:
cd ports/stage0
- mk
+ env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk
clean:
cd ports
- mk clean
+ mk configmk="$configmk" mkbuild="$mkbuild" clean
submodule:
git submodule init