Skip to content

Commit

Permalink
Merge pull request #113 from infosiftr/arm32v6
Browse files Browse the repository at this point in the history
Add explicit arm32v6
  • Loading branch information
yosifkit committed Mar 9, 2024
2 parents a2269bd + 61f3ba2 commit 6cbbe90
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*.md
*.sh
.dockerignore
.git
.git*
Dockerfile*
LICENSE
9 changes: 9 additions & 0 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,21 @@ RUN set -ex; \
make clean all test \
TARGET_ARCH='arm32v5' \
CROSS_COMPILE='arm-linux-gnueabi-' \
# CFLAGS+='-march=armv5te' \
ARCH_TEST='armel'

RUN set -ex; \
make clean all test \
TARGET_ARCH='arm32v6' \
CROSS_COMPILE='arm-linux-gnueabi-' \
CFLAGS+='-march=armv6+fp' \
ARCH_TEST='armhf'

RUN set -ex; \
make clean all test \
TARGET_ARCH='arm32v7' \
CROSS_COMPILE='arm-linux-gnueabihf-' \
# CFLAGS+='-march=armv7-a+fp' \
ARCH_TEST='armhf'

RUN set -ex; \
Expand Down
3 changes: 3 additions & 0 deletions arm32v6/hello-world/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM scratch
COPY hello /
CMD ["/hello"]
Binary file added arm32v6/hello-world/hello
Binary file not shown.

0 comments on commit 6cbbe90

Please sign in to comment.