From c8b7c21143775e34dc27a6dd6a9ecfdde7218487 Mon Sep 17 00:00:00 2001 From: Daniel Bainton Date: Mon, 7 Apr 2014 14:09:18 +0300 Subject: [PATCH] Define configmk and mkbuild paths in the toplevel mkfile --- mkfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mkfile b/mkfile index b53a631..9ca2d81 100644 --- 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