summaryrefslogtreecommitdiff
path: root/sub/musl
diff options
context:
space:
mode:
Diffstat (limited to 'sub/musl')
-rw-r--r--sub/musl/Makefile24
-rwxr-xr-xsub/musl/muslgccmake-buildhost10
2 files changed, 0 insertions, 34 deletions
diff --git a/sub/musl/Makefile b/sub/musl/Makefile
deleted file mode 100644
index 5a32c81..0000000
--- a/sub/musl/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-MUSL_BASE ?= /opt/musl-git
-
-# Latest version at 2019-05-03
-MUSL_VERSION := 2df8b1d806c3e1fd4b6b10e13794855a93fe6628
-
-
-# Build-build
-
-$(OUTPUT)/sources/.lh_musl_cloned: | $(OUTPUT)/tmp/.lh_prepared
- if ! test -d $(OUTPUT)/sources/musl ; then cd $(OUTPUT)/sources && git clone git://git.musl-libc.org/musl musl && cd musl && git checkout $(MUSL_VERSION) ; fi
- exec setuidgid $(NORMALUSER) touch $@
-
-$(OUTPUT)/build-build/.lh_gcc: $(OUTPUT)/build-build/bin/gcc
- exec setuidgid $(NORMALUSER) touch $@
-
-$(OUTPUT)/build-build/bin/gcc: | $(OUTPUT)/tmp/.lh_prepared
- exec setuidgid $(NORMALUSER) ln -sf $(BUILD_BUILD_CC) $(OUTPUT)/build-build/bin/gcc
-
-
-# Build-host
-
-$(OUTPUT)/build-host/bin/muslgcc: $(OUTPUT)/build-host/kernel/.lh_headers_installed | $(OUTPUT)/tmp/.lh_layout_installed $(OUTPUT)/build-build/.lh_skarnet_installed
- exec setuidgid $(NORMALUSER) sub/musl/muslgccmake-buildhost $(OUTPUT) $(TRIPLE) $(BUILD_HOST_CC)
- exec setuidgid $(NORMALUSER) s6-ln -sf $(TRIPLE)-muslgcc $@
diff --git a/sub/musl/muslgccmake-buildhost b/sub/musl/muslgccmake-buildhost
deleted file mode 100755
index 703efbd..0000000
--- a/sub/musl/muslgccmake-buildhost
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh -e
-
-output="$1"
-triple="$2"
-xgcc="$3"
-
-file=$output/build-host/bin/${triple}-muslgcc
-echo '#!/bin/sh' > $file
-echo "exec $xgcc -isystem $output/rootfs/opt/linux-kernel-headers/include -s \"\$@\"" >> $file
-s6-chmod 0755 $file