Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Nov 22, 2019
1 parent aae895b commit 69bff31
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.aarch64-linux-android
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY android-system.sh /
RUN /android-system.sh arm64

COPY qemu.sh /
RUN /qemu.sh aarch64 android
RUN /qemu.sh aarch64

RUN cp /android-ndk/sysroot/usr/lib/libz.so /system/lib/

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-arm64-cross

COPY qemu.sh /
RUN /qemu.sh aarch64 linux softmmu
RUN /qemu.sh aarch64 softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.arm-linux-androideabi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY android-system.sh /
RUN /android-system.sh arm

COPY qemu.sh /
RUN /qemu.sh arm android
RUN /qemu.sh arm

RUN cp /android-ndk/sysroot/usr/lib/libz.so /system/lib/

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.armv7-linux-androideabi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY android-system.sh /
RUN /android-system.sh arm

COPY qemu.sh /
RUN /qemu.sh arm android
RUN /qemu.sh arm

RUN cp /android-ndk/sysroot/usr/lib/libz.so /system/lib/

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.armv7-unknown-linux-gnueabihf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-armhf-cross

COPY qemu.sh /
RUN /qemu.sh arm linux softmmu
RUN /qemu.sh arm softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.i686-linux-android
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN /android-system.sh x86
#
# Running with qemu works as expected
COPY qemu.sh /
RUN /qemu.sh i386 android
RUN /qemu.sh i386

RUN cp /android-ndk/sysroot/usr/lib/libz.so /system/lib/

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.i686-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN apt-get install -y --no-install-recommends \
g++-multilib

COPY qemu.sh /
RUN /qemu.sh i386 linux softmmu
RUN /qemu.sh i386 softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.mips-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-mips-cross

COPY qemu.sh /
RUN /qemu.sh mips linux softmmu
RUN /qemu.sh mips softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.mips64el-unknown-linux-gnuabi64
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-mips64el-cross

COPY qemu.sh /
RUN /qemu.sh mips64el linux softmmu
RUN /qemu.sh mips64el softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.mipsel-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-mipsel-cross

COPY qemu.sh /
RUN /qemu.sh mipsel linux softmmu
RUN /qemu.sh mipsel softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.powerpc-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-powerpc-cross

COPY qemu.sh /
RUN /qemu.sh ppc linux softmmu
RUN /qemu.sh ppc softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.powerpc64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-ppc64-cross

COPY qemu.sh /
RUN /qemu.sh ppc64 linux softmmu
RUN /qemu.sh ppc64 softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.powerpc64le-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-ppc64el-cross

COPY qemu.sh /
RUN /qemu.sh ppc64le linux softmmu
RUN /qemu.sh ppc64le softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.s390x-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-s390x-cross

COPY qemu.sh /
RUN /qemu.sh s390x linux softmmu
RUN /qemu.sh s390x softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.sparc64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get install -y --no-install-recommends \
libc6-dev-sparc64-cross

COPY qemu.sh /
RUN /qemu.sh sparc64 linux softmmu
RUN /qemu.sh sparc64 softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.x86_64-linux-android
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN /android-system.sh x86_64

# Using qemu allows older host cpus (without sse4) to execute the target binaries
COPY qemu.sh /
RUN /qemu.sh x86_64 android
RUN /qemu.sh x86_64

RUN cp /android-ndk/sysroot/usr/lib/libz.so /system/lib/

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get install -y --no-install-recommends \
zlib1g-dev

COPY qemu.sh /
RUN /qemu.sh x86_64 linux softmmu
RUN /qemu.sh x86_64 softmmu

COPY dropbear.sh /
RUN /dropbear.sh
Expand Down
3 changes: 1 addition & 2 deletions docker/qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ main() {
fi

local arch=$1 \
os=$2 \
softmmu=$3 \
softmmu=${2:-} \
td=$(mktemp -d)

local dependencies=(
Expand Down

0 comments on commit 69bff31

Please sign in to comment.