###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2018 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 = 20180316
+VER = 20210606
THISAPP = rpi-firmware-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = e09ff543280f6138d12ea334d550fbd6
+$(DL_FILE)_MD5 = 5e9cccb9df460ea870134578e6caab26
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@cd / && tar axf $(DIR_DL)/$(DL_FILE)
- cp -f /lib/firmware/brcm/brcmfmac43430-sdio.txt \
- /lib/firmware/brcm/brcmfmac43430-sdio.RPI3.txt
cp -f $(DIR_SRC)/config/rpi-firmware/config.txt /boot
+ifeq "${BUILD_ARCH}" "armv5tel"
+ echo arm_64bit=0 >> /boot/config.txt
+else
+ echo arm_64bit=1 >> /boot/config.txt
+endif
@$(POSTBUILD)