From c394056a4750fab5c5b227339ab57711f521026f Mon Sep 17 00:00:00 2001 From: Daniel Bainton Date: Mon, 7 Apr 2014 13:29:29 +0300 Subject: [PATCH] Toplevel mkfile doesn't depend on mkbuild anymore --- config.def.mk | 2 +- mkfile | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/config.def.mk b/config.def.mk index 1b281da..ecbc15a 100644 --- a/config.def.mk +++ b/config.def.mk @@ -1,7 +1,7 @@ arch = i486 version = 0.0 mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version} -ports = $mkbuild/../ports +pkgdirs = $mkbuild/../ports nprocs = 2 TOOLCHAIN_TRIPLET = ${arch}-musl-linux diff --git a/mkfile b/mkfile index b2684ac..b53a631 100644 --- a/mkfile +++ b/mkfile @@ -1,7 +1,17 @@ `{ test -e config.mk || cp config.def.mk config.mk } -<$mkbuild/mk.3rdparty +TARG = stage0 -src = ports -git = git://git.2f30.org/ports -mkfile = mkfile +all: $TARG + +&: + cd ports/stage0 + mk + +clean: + cd ports + mk clean + +submodule: + git submodule init + git submodule update \ No newline at end of file