1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-20 20:38:33 +00:00

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

@ -1,16 +1,19 @@
`{ test -e config.mk || cp config.def.mk config.mk } `{ test -e config.mk || cp config.def.mk config.mk }
configmk = `{pwd}/config.mk
mkbuild = `{pwd}/mkbuild
TARG = stage0 TARG = stage0
all: $TARG all: $TARG
&: &:
cd ports/stage0 cd ports/stage0
mk env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk
clean: clean:
cd ports cd ports
mk clean mk configmk="$configmk" mkbuild="$mkbuild" clean
submodule: submodule:
git submodule init git submodule init