docker/bootstrap: rename init to prep to be consistent

Change-Id: Ie6dc9061b13b23997f84a1ffe886d7e09c242cf0
This commit is contained in:
Alexander von Gluck IV 2019-12-09 12:34:14 -06:00
parent a8edaa2b21
commit 5c9ee5d028
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ ENGINE=docker
# Example mounting source code directory into container
# (lets you "work on the code used to bootstrap" a bit easier)
SOURCES=$(HOME)/Code
#EXTRA=-v $(SOURCES)/haiku:/work/src/haiku -v $(SOURCES)/buildtools:/work/src/buildtools
EXTRA=-v $(SOURCES)/haiku:/work/src/haiku -v $(SOURCES)/buildtools:/work/src/buildtools
default:
${ENGINE} build . --no-cache -t docker.io/haiku/bootstrap
@ -12,7 +12,7 @@ clean:
${ENGINE} ps -q --filter=ancestor=docker.io/haiku/bootstrap | xargs -I {} ${ENGINE} kill {}
${ENGINE} ps -a -q --filter=ancestor=docker.io/haiku/bootstrap | xargs -I {} ${ENGINE} rm {}
${ENGINE} volume rm bootstrap_work
init:
prep:
${ENGINE} run -v bootstrap_work:/work ${EXTRA} docker.io/haiku/bootstrap prep
crosstools:
${ENGINE} run -e TARGET_ARCH=$(TARGET_ARCH) -v bootstrap_work:/work ${EXTRA} docker.io/haiku/bootstrap crosstools

View File

@ -25,7 +25,7 @@ from the end users host and create more-reproduceable bootstrap builds.
2) Check out the required sources
```make init```
```make prep```
3) Build the crosstools (gcc only) for your target architecture