Patches to allow building old OpenWrt Backfire version (10.03.2) in modern distros (using gcc version 5.x)
- Download OpenWrt Backfire 10.03.2
git clone -b backfire git://git.openwrt.org/openwrt/svn-archive/openwrt.git backfire-10.03.2
- Drop patches and patch-br.sh script into the build root
- Execute the script, this will apply all patches
./patch-br.sh
- Configure Openwrt with menus, save and make the world
Tested with gcc 5.x and targets:
- Atheros AR231x/AR5312
- Broadcom brcm-2.4
- Broadcom brcm63xx
- TI AR7
Tested with gcc 9.1.0 (additional patches 12, 13, 14) and targets:
- Broadcom brcm63xx
Tested with gcc 12.2.0 (additional patches 17, 18, 19) and targets:
- Broadcom brcm63xx
- Infineon/ADMtek ADM5120