commit d8f16181cfeb0735a608a96e778516fc7884cc0b
parent c80d586516986dbede1325f82249795362ba3b65
Author: Daniel Bainton <dpb@driftaway.org>
Date: Mon, 10 Mar 2014 13:47:50 +0000
Move $top from config.mk to mkfile
$top isn't really user definable
Also reorder config.mk a bit, put the common stuff on top
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/config.mk b/config.mk
@@ -1,10 +1,10 @@
-top = `{pwd}
-root = ${top}/root
#arch = i486
arch = x86_64
-libcroot = ${root}/opt/cross/${arch}-linux-musl/${arch}-linux-musl
+root = ${top}/root
nprocs = 4 # number of processes for building separate packages
NPROC = 4 # number of processes for mk concurrency
+
+libcroot = ${root}/opt/cross/${arch}-linux-musl/${arch}-linux-musl
version = 0.0
mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version}
CC = ${arch}-linux-musl-gcc
diff --git a/mkfile b/mkfile
@@ -1,3 +1,4 @@
+top = `{pwd}
<config.mk
allpkgs = `{ls -d pkgs/*}