Define configmk and mkbuild paths in the toplevel mkfile

This commit is contained in:
Daniel Bainton 2014-04-07 14:09:18 +03:00
parent c394056a47
commit c8b7c21143

7
mkfile
View File

@ -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