docker: Add Hexagon image
commitafbdf0a44eaf6d529ec1e5250178d025f15aa606
authorAlessandro Di Federico <ale@rev.ng>
Wed, 12 May 2021 10:20:26 +0000 (12 11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:35:39 +0000 (18 09:35 +0100)
tree49b44b69668484d38995672ea6997af0556dc282
parentc3ad904393c169a5240b3ac58a37ef953b678c02
docker: Add Hexagon image

This image is a little special because it takes a long time to build.
As such most users don't want to be doing that and just pull random
binaries from the ether as intended by the container gods. This
involves someone with credentials and a beefy machine running:

  make docker-image-debian-hexagon-cross V=1 NOCACHE=1 J=30
  docker tag qemu/debian-hexagon-cross registry.gitlab.com/qemu-project/qemu/qemu/debian-hexagon-cross
  docker push registry.gitlab.com/qemu-project/qemu/qemu/debian-hexagon-cross

With a suitable binary in the "cloud" a normal user will run:

  make docker-image-debian-hexagon-cross

or have it run for them through the dependency mechanism of our
over-engineered makefiles and get the binary they wanted. There are a
few wrinkles of course including needing to tweak the final image to
have the credentials of the user so we can actually do our cross
compiles.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Alessandro Di Federico <ale@rev.ng>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Brian Cain <bcain@quicinc.com>
Message-Id: <20210512102051.12134-7-alex.bennee@linaro.org>
MAINTAINERS
tests/docker/Makefile.include
tests/docker/dockerfiles/debian-hexagon-cross.docker [new file with mode: 0644]
tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh [new file with mode: 0755]