###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2012 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = d4f5315
+VER = 20210606
THISAPP = rpi-firmware-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
TARGET = $(DIR_INFO)/$(THISAPP)
-SUP_ARCH = armv5tel
+SUP_ARCH = armv6l aarch64
###############################################################################
# Top-level Rules
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 65c0a859ab96cb563a80e3529c78f555
+$(DL_FILE)_MD5 = 5e9cccb9df460ea870134578e6caab26
install : $(TARGET)
@$(PREBUILD)
@cd / && tar axf $(DIR_DL)/$(DL_FILE)
cp -f $(DIR_SRC)/config/rpi-firmware/config.txt /boot
+ifeq "${BUILD_ARCH}" "armv6l"
+ echo arm_64bit=0 >> /boot/config.txt
+else
+ echo arm_64bit=1 >> /boot/config.txt
+endif
@$(POSTBUILD)