restructure bootstrap

This commit is contained in:
Lance Vick 2023-12-22 23:27:42 -08:00
parent 903a11358f
commit f2c7343787
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 20 additions and 20 deletions

View File

@ -1,25 +1,10 @@
.PHONY: bootstrap
core: \
out/gcc.tgz \
out/musl.tgz \
out/make.tgz \
out/binutils.tgz \
out/busybox.tgz
bootstrap: \
out/bootstrap.tgz \
out/stage0.tgz
out/bootstrap.tgz:
$(call build,bootstrap,bootstrap)
out/musl.tgz: out/bootstrap.tgz
$(call build,bootstrap,musl)
out/busybox.tgz: out/bootstrap.tgz
$(call build,bootstrap,busybox)
out/binutils.tgz: out/bootstrap.tgz
$(call build,bootstrap,binutils)
out/gcc.tgz: out/bootstrap.tgz out/musl.tgz
$(call build,bootstrap,gcc)
out/make.tgz: out/bootstrap.tgz
$(call build,bootstrap,make)
out/stage0.tgz:
$(call build,bootstrap,stage0)

View File

@ -7,6 +7,21 @@ core: \
out/gcc.tgz \
out/llvm.tgz
out/musl.tgz: out/bootstrap.tgz
$(call build,core,musl)
out/busybox.tgz: out/bootstrap.tgz
$(call build,core,busybox)
out/binutils.tgz: out/bootstrap.tgz
$(call build,core,binutils)
out/gcc.tgz: out/bootstrap.tgz out/musl.tgz
$(call build,core,gcc)
out/make.tgz: out/bootstrap.tgz
$(call build,core,make)
out/bash.tgz: \
out/busybox.tgz \
out/gcc.tgz \