aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkimage.sh2
-rwxr-xr-xscripts/mkimg.arm.sh14
2 files changed, 12 insertions, 4 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh
index 14fa2a60fd..fa73d6697b 100755
--- a/scripts/mkimage.sh
+++ b/scripts/mkimage.sh
@@ -22,7 +22,7 @@ set -e
all_sections=""
all_profiles=""
all_checksums="sha256 sha512"
-all_arches="armhf x86 x86_64"
+all_arches="aarch64 armhf x86 x86_64"
all_dirs=""
build_date="$(date +%y%m%d)"
default_arch="$(apk --print-arch)"
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh
index 7b1f9cc343..0a55be50cc 100755
--- a/scripts/mkimg.arm.sh
+++ b/scripts/mkimg.arm.sh
@@ -76,9 +76,17 @@ section_uboot() {
profile_uboot() {
profile_base
image_ext="tar.gz"
- arch="armhf armv7"
- kernel_flavors="grsec"
- kernel_addons="xtables-addons"
+ arch="aarch64 armhf armv7"
+ case "$ARCH" in
+ aarch64)
+ kernel_flavors="vanilla"
+ kernel_addons=
+ ;;
+ *)
+ kernel_flavors="grsec"
+ kernel_addons="xtables-addons"
+ ;;
+ esac
initfs_features="base bootchart squashfs ext2 ext3 ext4 kms mmc raid scsi usb"
apkovl="genapkovl-dhcp.sh"
hostname="alpine"