Merge pull request #113 from infosiftr/arm32v6

Add explicit arm32v6
This commit is contained in:
yosifkit 2024-03-08 17:05:22 -08:00 committed by GitHub
commit 6cbbe901e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*.md
*.sh
.dockerignore
.git
.git*
Dockerfile*
LICENSE

View File

@ -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; \

View File

@ -0,0 +1,3 @@
FROM scratch
COPY hello /
CMD ["/hello"]

BIN
arm32v6/hello-world/hello Executable file

Binary file not shown.