mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild.git
Log | Files | Refs | LICENSE

commit 1cd0eb9eb568e6757335930e64a68c914f251d12
parent 75a44c1318c40ee079a4a33f1dd3cdef9c618b99
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Mon,  7 Apr 2014 13:41:00 +0300

Remove some morpheus specific stuff

Diffstat:
config.mk | 11++---------
mk.config | 6+++---
mk.deps | 2+-
3 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/config.mk b/config.mk @@ -1,7 +1,4 @@ arch = i486 -version = 0.0 -mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version} -ports = $mkbuild/../ports nprocs = 2 TOOLCHAIN_TRIPLET = ${arch}-musl-linux @@ -23,10 +20,6 @@ MANDIR = ${PREFIX}/share/man INSTALL = /usr/bin/install -# these don't work for all packages yet... -optldflags = -s -Wl,--gc-sections -Wl,-z,relro,-z,now -optcflags = -fdata-sections -ffunction-sections -Os -g0 -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack - CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE -CFLAGS = ${CPPFLAGS} # ${optcflags} -LDFLAGS = -static ${optldflags} +CFLAGS = ${CPPFLAGS} +LDFLAGS = -static diff --git a/mk.config b/mk.config @@ -1,2 +1,2 @@ -CONFIGMK = $mkbuild/config.mk -<$CONFIGMK- \ No newline at end of file +configmk = $mkbuild/config.mk +<$configmk+ \ No newline at end of file diff --git a/mk.deps b/mk.deps @@ -1,7 +1,7 @@ `{ printf "# Auto-generated file by mk, do not edit\n\n" > .deps.mk } -paths = `{ find $ports -type f -name mkfile } +paths = `{ find $pkgdirs -type f -name mkfile } `{ for i in $DEPS; do \ for path in $paths; do \ dir=$(dirname $path); \