Add riscv compiler to docker image
This commit is contained in:
@@ -14,8 +14,10 @@ RUN apt-get update && \
|
|||||||
wget && \
|
wget && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
RUN wget -qO- https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 | tar -xj
|
RUN wget -qO- https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 | tar -xj
|
||||||
|
RUN wget -qO- https://github.com/riscv-mcu/riscv-gnu-toolchain/releases/download/v9.2RC/rv_linux_bare_1908312208.tar.bz2 | tar -xj
|
||||||
|
|
||||||
# Add compiler to the path
|
# Add compiler to the path
|
||||||
ENV PATH "/build/gcc-arm-none-eabi-9-2020-q2-update/bin:$PATH"
|
ENV PATH "/build/gcc-arm-none-eabi-9-2020-q2-update/bin:$PATH"
|
||||||
|
ENV PATH "/build/rv_linux_bare_1908291308/bin:$PATH"
|
||||||
COPY . /build/source
|
COPY . /build/source
|
||||||
COPY ./ci /build/ci
|
COPY ./ci /build/ci
|
||||||
|
|||||||
@@ -126,7 +126,6 @@ GCOV=$(COMPILER_PREFIX)-gcov
|
|||||||
OBJCOPY=$(COMPILER_PREFIX)-objcopy
|
OBJCOPY=$(COMPILER_PREFIX)-objcopy
|
||||||
OBJDUMP=$(COMPILER_PREFIX)-objdump
|
OBJDUMP=$(COMPILER_PREFIX)-objdump
|
||||||
SIZE=$(COMPILER_PREFIX)-size
|
SIZE=$(COMPILER_PREFIX)-size
|
||||||
GDB=./tools/riscv-none-embed-gcc/8.3.0-1.1/bin/riscv-none-embed-gdb
|
|
||||||
SREC=srec_cat
|
SREC=srec_cat
|
||||||
SREC_INFO=srec_info
|
SREC_INFO=srec_info
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user