diff options
author | Safae Ouajih <souajih@baylibre.com> | 2023-02-06 00:50:21 +0100 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2023-04-05 11:43:39 -0500 |
commit | ae5755f3b8acd0eebbc6521da1c7f97c11dabba1 (patch) | |
tree | 4f299e70552a10b0ed885506289cf049b0ad6691 /tools | |
parent | 0335bdbf9f5c3bbc816f6875377325e0db714d9f (diff) |
Dockerfile: add mkbootimg tool
commit f4449397551a82f0c1d9714d648f1efb90d56962 upstream.
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>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'tools')
-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 33e2bd2add..200c9e4a99 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -242,3 +242,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" |