aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSafae Ouajih <souajih@baylibre.com>2023-02-06 00:50:21 +0100
committerTom Rini <trini@konsulko.com>2023-04-04 14:50:47 -0400
commitf4449397551a82f0c1d9714d648f1efb90d56962 (patch)
tree3ed815ab6105a6655fe25c91dace40c47336f8c6 /tools
parent83d48a3c8bfbbbc2a8ad951b211081f72fc268b6 (diff)
downloadu-boot-f4449397551a82f0c1d9714d648f1efb90d56962.zip
u-boot-f4449397551a82f0c1d9714d648f1efb90d56962.tar.gz
u-boot-f4449397551a82f0c1d9714d648f1efb90d56962.tar.bz2
Dockerfile: add mkbootimg toolWIP/2023-04-04-android-image-v3-v4-support
mkbootimg tool is part of the Android project and it is used to pack Android boot images such as boot image and vendor_boot image. Use the following command to run mkbootimg: $ python3 -m mkbootimg Add mkbootimg to the docker file Signed-off-by: Safae Ouajih <souajih@baylibre.com> Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/docker/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 801bebf..9804b55 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -284,3 +284,7 @@ RUN /bin/echo -e "\n[toolchain-prefix]\nxtensa = /opt/2020.07/xtensa-dc233c-elf/
RUN /bin/echo -e "\n[toolchain-alias]\nsh = sh2" >> ~/.buildman
RUN /bin/echo -e "\nsandbox = x86_64" >> ~/.buildman
RUN /bin/echo -e "\nx86 = i386" >> ~/.buildman;
+
+# Add mkbootimg tool
+RUN git clone https://android.googlesource.com/platform/system/tools/mkbootimg /home/uboot/mkbootimg
+ENV PYTHONPATH "${PYTHONPATH}:/home/uboot/mkbootimg"