aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-21 10:35:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-21 10:35:37 +0000
commit69907fcb13161dff44a42de599097cef9a5a6a09 (patch)
tree0c82194a4e980387ebb71bad396ab2ac6c0da48a
parent9efc0e6aa6e6951d4aa7e04014e7228b8e79e88d (diff)
downloadaports-69907fcb13161dff44a42de599097cef9a5a6a09.tar.gz
aports-69907fcb13161dff44a42de599097cef9a5a6a09.tar.bz2
aports-69907fcb13161dff44a42de599097cef9a5a6a09.tar.xz
scripts/mkimg.arm.sh: cleanup
no functional difference but make it clearer what the intention is
-rwxr-xr-xscripts/mkimg.arm.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/mkimg.arm.sh b/scripts/mkimg.arm.sh
index d9d8993b70..43b91f759b 100755
--- a/scripts/mkimg.arm.sh
+++ b/scripts/mkimg.arm.sh
@@ -70,19 +70,17 @@ profile_rpi() {
Designed for RPI 1,2 and 3.
And much more..."
image_ext="tar.gz"
- arch="armhf"
+ arch="aarch64 armhf"
# check commit log for matching commit with current rpi kernel version at:
# https://github.com/raspberrypi/firmware/tree/master
rpi_firmware_commit="eeaaf5e2b5aee29f31e989c0dddd186fb68b2144"
- kernel_flavors="rpi rpi2"
+ kernel_flavors="rpi"
+ case "$ARCH" in
+ armhf) kernel_flavors="$kernel_flavors rpi2";;
+ esac
kernel_cmdline="dwc_otg.lpm_enable=0 console=tty1"
initrd_features="base bootchart squashfs ext4 f2fs kms mmc raid scsi usb"
- apkovl="genapkovl-dhcp.sh"
hostname="rpi"
- if [ "$ARCH" = "aarch64" ]; then
- arch="aarch64"
- kernel_flavors="rpi"
- fi
}
build_uboot() {