diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-04 00:10:26 +0000 |
commit | 7bb2006007c1996f33758e41db070252d4d3607f (patch) | |
tree | 3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /sub/musl/Makefile | |
parent | 1202c964c4e91083a3c60b41b9c11e220bfa759d (diff) | |
download | lh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.xz |
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'sub/musl/Makefile')
-rw-r--r-- | sub/musl/Makefile | 24 |
1 files changed, 0 insertions, 24 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 $@ |