fix: fix build issue from simulavr (#38)
This commit is contained in:
parent
bd5be1fa35
commit
57d6ac4865
|
|
@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-libgpiod \
|
python3-libgpiod \
|
||||||
|
python3-distutils \
|
||||||
|
### \
|
||||||
|
&& pip install setuptools \
|
||||||
### clean up
|
### clean up
|
||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
|
|
@ -39,10 +42,10 @@ RUN git clone -b master https://git.savannah.nongnu.org/git/simulavr.git \
|
||||||
# Build the firmware
|
# Build the firmware
|
||||||
&& cd klipper \
|
&& cd klipper \
|
||||||
&& cp /usr/src/simulavr.config .config \
|
&& cp /usr/src/simulavr.config .config \
|
||||||
&& make PYTHON=python3 \
|
&& make \
|
||||||
&& cp out/klipper.elf /build/simulavr.elf \
|
&& cp out/klipper.elf /build/simulavr.elf \
|
||||||
&& rm -f .config \
|
&& rm -f .config \
|
||||||
&& make PYTHON=python3 clean \
|
&& make clean \
|
||||||
# Build simulavr
|
# Build simulavr
|
||||||
&& cd ../simulavr \
|
&& cd ../simulavr \
|
||||||
&& make python \
|
&& make python \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue