ports

morpheus ports
git clone git://git.2f30.org/ports.git
Log | Files | Refs | LICENSE

commit 1dee58873a53b06a0313cebe6285d1db59d7e027
parent b9f9d8ab972009a28f669ded1a088bb9a0823d2e
Author: sin <sin@2f30.org>
Date:   Tue Jul  1 14:47:38 +0100

Add x86_64-linux-musl

Diffstat:
x86_64-linux-musl/checksums | 1+
x86_64-linux-musl/mkfile | 6++++++
x86_64-linux-musl/v.mk | 1+
x86_64-linux-musl/x86_64-linux-musl.mk | 12++++++++++++
4 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/x86_64-linux-musl/checksums b/x86_64-linux-musl/checksums @@ -0,0 +1 @@ +2e5945a0497011b79419d91bcebff6515b397703cf33a2284909e9ec4249c61fafdc40e5c5d071dcbf223c6d7554a311a83cbfc1f67ec78dbefa25f55bc8eb10 crossx86-x86_64-linux-musl-1.1.1.tar.xz diff --git a/x86_64-linux-musl/mkfile b/x86_64-linux-musl/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = x86_64-linux-musl +url = http://dl.2f30.org/crossx86-x86_64-linux-musl-$v.tar.xz +mkfile = ../x86_64-linux-musl.mk diff --git a/x86_64-linux-musl/v.mk b/x86_64-linux-musl/v.mk @@ -0,0 +1 @@ +v = 1.1.1 diff --git a/x86_64-linux-musl/x86_64-linux-musl.mk b/x86_64-linux-musl/x86_64-linux-musl.mk @@ -0,0 +1,12 @@ +<$mkbuild/mk.common-noinst + +install:QV: + mkdir -p "$ROOT/devel" + cp -ar * "$ROOT/devel" + mkdir -p "$ROOT/bin" + cd "$ROOT/bin" + symlinks="ar as c++ g++ gcc ld ld.bfd nm objcopy objdump ranlib strip" + for i in $symlinks; do + ln -sf /devel/x86_64-linux-musl/bin/$i $i + done + ln -sf /bin/gcc cc