###############################################################################
# #
# 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 = 855e997
+VER = 20211127
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 = c73700a10d792517b2b87fd28a6c9800
+$(DL_FILE)_MD5 = d2cfb86cc19638683cd6ae042cc1eec5
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
- @cd / && tar axf $(DIR_DL)/$(DL_FILE)
+ @cd / && tar axf $(DIR_DL)/$(DL_FILE) --no-same-owner
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)