mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-04 23:45:26 +00:00
Remove ccache hack from dockerfiles (#1835)
Now we have a proper solution in cmake
This commit is contained in:
parent
c9db21063b
commit
13f12227bd
@ -35,13 +35,6 @@ RUN mkdir /opt/build \
|
|||||||
&& mkdir armbin \
|
&& mkdir armbin \
|
||||||
&& tar --strip=1 -xjvf gcc-arm-none-eabi -C armbin
|
&& tar --strip=1 -xjvf gcc-arm-none-eabi -C armbin
|
||||||
|
|
||||||
# Configure CCACHE
|
|
||||||
RUN mkdir ~/bin \
|
|
||||||
&& cd ~/bin \
|
|
||||||
&& for tool in gcc g++ cpp c++; do \
|
|
||||||
ln -s $(which ccache) arm-none-eabi-$tool \
|
|
||||||
; done
|
|
||||||
|
|
||||||
ADD firmware/tools/docker-entrypoint.sh /usr/local/bin/entrypoint.sh
|
ADD firmware/tools/docker-entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
|
|
||||||
|
@ -19,9 +19,5 @@ RUN apk add --no-cache g++ gcc clang clang-static clang-dev llvm-dev llvm-static
|
|||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
ENV LC_ALL C.UTF-8
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
# Configure CCACHE
|
|
||||||
RUN mkdir ~/bin && cd ~/bin && \
|
|
||||||
for tool in gcc g++ cpp c++;do ln -s $(which ccache) arm-none-eabi-$tool;done
|
|
||||||
|
|
||||||
CMD cd .. && cd build && \
|
CMD cd .. && cd build && \
|
||||||
cmake .. && make ppfw
|
cmake .. && make ppfw
|
||||||
|
@ -35,13 +35,6 @@ RUN mkdir /opt/build \
|
|||||||
&& mkdir armbin \
|
&& mkdir armbin \
|
||||||
&& tar --strip=1 -xjvf gcc-arm-none-eabi -C armbin
|
&& tar --strip=1 -xjvf gcc-arm-none-eabi -C armbin
|
||||||
|
|
||||||
# Configure CCACHE
|
|
||||||
RUN mkdir ~/bin \
|
|
||||||
&& cd ~/bin \
|
|
||||||
&& for tool in gcc g++ cpp c++; do \
|
|
||||||
ln -s $(which ccache) arm-none-eabi-$tool \
|
|
||||||
; done
|
|
||||||
|
|
||||||
ADD firmware/tools/docker-entrypoint.sh /usr/local/bin/entrypoint.sh
|
ADD firmware/tools/docker-entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user