Skip to content

Commit

Permalink
Merge pull request #5236 from fpetkovski/makefile-arm64
Browse files Browse the repository at this point in the history
makefile: Fix Makefile support for arm64
  • Loading branch information
kakkoyun authored Mar 17, 2022
2 parents 9ec283d + 41977e0 commit 9e8f7ae
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ arch = $(shell uname -m)

# The include .busybox-versions includes the SHA's of all the platforms, which can be used as var.
ifeq ($(arch), x86_64)
# amd64
BASE_DOCKER_SHA=${amd64}
# amd64
BASE_DOCKER_SHA=${amd64}
else ifeq ($(arch), armv8)
# arm64
BASE_DOCKER_SHA=${arm64}
# arm64
BASE_DOCKER_SHA=${arm64}
else ifeq ($(arch), arm64)
# arm64
BASE_DOCKER_SHA=${arm64}
else
echo >&2 "only support amd64 or arm64 arch" && exit 1
echo >&2 "only support amd64 or arm64 arch" && exit 1
endif
DOCKER_ARCHS ?= amd64 arm64
# Generate two target: docker-xxx-amd64, docker-xxx-arm64.
Expand Down

0 comments on commit 9e8f7ae

Please sign in to comment.