docker/bootstrap: rename init to prep to be consistent
Change-Id: Ie6dc9061b13b23997f84a1ffe886d7e09c242cf0
This commit is contained in:
parent
a8edaa2b21
commit
5c9ee5d028
4
3rdparty/docker/bootstrap/Makefile
vendored
4
3rdparty/docker/bootstrap/Makefile
vendored
@ -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
|
||||
|
2
3rdparty/docker/bootstrap/README.md
vendored
2
3rdparty/docker/bootstrap/README.md
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user