Compare commits
No commits in common. "fced67d7c55ab417048dfaa0066444f1c8bbc78a" and "b2133c610c834190f4fbcb59a3f1752816c98a1a" have entirely different histories.
fced67d7c5
...
b2133c610c
13
Dockerfile
13
Dockerfile
@ -9,21 +9,20 @@ RUN apk add \
|
|||||||
perl \
|
perl \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
texinfo
|
texinfo
|
||||||
|
|
||||||
COPY *.patch /
|
|
||||||
|
|
||||||
RUN git config --global user.email "tkl@blackfinn.de"
|
RUN git config --global user.email "tkl@blackfinn.de"
|
||||||
RUN git config --global user.name "Thomas Klaehn"
|
RUN git config --global user.name "Thomas Klaehn"
|
||||||
|
|
||||||
|
# Openocd
|
||||||
|
COPY 0001-openocd-poll.patch /
|
||||||
|
COPY cc3200.cfg /
|
||||||
|
COPY openocd-cc3200 /bin
|
||||||
RUN git clone --single-branch --branch v0.9.0 --depth 1 https://repo.or.cz/openocd.git \
|
RUN git clone --single-branch --branch v0.9.0 --depth 1 https://repo.or.cz/openocd.git \
|
||||||
&& cd openocd \
|
&& cd openocd \
|
||||||
&& git am /*.patch \
|
&& git am /0001-openocd-poll.patch \
|
||||||
&& ./bootstrap \
|
&& ./bootstrap \
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
&& make \
|
&& make \
|
||||||
&& make install
|
&& make install
|
||||||
|
|
||||||
COPY cc3200.cfg /
|
|
||||||
COPY start_openocd.sh /bin
|
|
||||||
|
|
||||||
|
@ -8,5 +8,5 @@ docker build -t cc3200-env .
|
|||||||
|
|
||||||
### Openocd server
|
### Openocd server
|
||||||
|
|
||||||
docker run --privileged -p 3333:3333 cc3200-env sh start_openocd.sh
|
docker run --privileged -p 3333:3333 cc3200-env openocd-cc3200
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
openocd -f /cc3200.cfg
|
openocd -f /cc3200.cfg
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user