diff options
author | Safae Ouajih <souajih@baylibre.com> | 2023-02-06 00:50:21 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-28 14:55:50 -0400 |
commit | 4c38b6af9907ff4e244de4c5877e9f943bd2ea11 (patch) | |
tree | 1303c2f1e1f605872a13a84505028c882059b814 | |
parent | bdf88c0bc73eee9709f90b21882d0c58803e26d4 (diff) | |
download | u-boot-4c38b6af9907ff4e244de4c5877e9f943bd2ea11.zip u-boot-4c38b6af9907ff4e244de4c5877e9f943bd2ea11.tar.gz u-boot-4c38b6af9907ff4e244de4c5877e9f943bd2ea11.tar.bz2 |
Dockerfile: add mkbootimg tool
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>
-rw-r--r-- | tools/docker/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 2844204..a1fdc33 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -273,3 +273,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" |