forked from FreifunkFranken/firmware
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenWrt: Use the tiny target and update names
Signed-off-by: Tim Niemeyer <tim@tn-x.org> [fabian@blaese.de: Add missing ATH79 MACHs] Signed-off-by: Fabian Bläse <fabian@blaese.de>
- Loading branch information
Showing
5 changed files
with
156 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
machine=ar71xx | ||
chipset=ar71xx | ||
subtarget=generic | ||
subtarget=tiny | ||
target=$builddir/$machine | ||
images=("lede-ar71xx-generic-cpe210-220-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-cpe510-520-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-ubnt-loco-m-xw-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr741nd-v2-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr741nd-v4-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr841-v7-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr841-v8-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr841-v9-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr841-v10-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr841-v11-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr841-v12-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr842n-v2-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr1043nd-v2-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr1043nd-v3-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wr1043n-v5-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wa860re-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wa850re-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wa901nd-v2-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-gl-ar150-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wdr3500-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-tl-wdr4310-v1-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-archer-c7-v2-squashfs-sysupgrade.bin" | ||
"lede-ar71xx-generic-archer-c25-v1-squashfs-sysupgrade.bin" | ||
images=("openwrt-${chipset}-${subtarget}-cpe210-220-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-cpe510-520-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-ubnt-nano-m-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-ubnt-loco-m-xw-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr740n-v4-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr741nd-v2-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr741nd-v4-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr841-v7-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr841-v8-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr841-v9-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr841-v10-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr841-v11-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr841-v12-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr842n-v2-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr1043nd-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr1043nd-v2-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr1043nd-v3-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr1043nd-v4-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wr1043n-v5-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wa860re-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wa850re-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wa901nd-v2-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-gl-ar150-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-mr3020-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-ubnt-bullet-m-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-ubnt-unifi-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-ubnt-unifiac-lite-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wdr3500-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wdr3600-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wdr4300-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-tl-wdr4310-v1-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-archer-c7-v2-squashfs-sysupgrade.bin" | ||
"openwrt-${chipset}-${subtarget}-archer-c25-v1-squashfs-sysupgrade.bin" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
build_patches/openwrt/0005-allow-building-all-devives-as-tiny.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
From a90784d1eb5eff968d6d2ced5c33b980dcfe40d0 Mon Sep 17 00:00:00 2001 | ||
From: Tim Niemeyer <tim@tn-x.org> | ||
Date: Mon, 6 Aug 2018 18:39:04 +0200 | ||
Subject: [PATCH] allow building all devives as tiny | ||
|
||
--- | ||
target/linux/ar71xx/image/Makefile | 5 +++++ | ||
target/linux/ar71xx/tiny/config-default | 14 ++++++++++++++ | ||
2 files changed, 19 insertions(+) | ||
|
||
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile | ||
index 1eaf1e457c..602323bba2 100644 | ||
--- a/target/linux/ar71xx/image/Makefile | ||
+++ b/target/linux/ar71xx/image/Makefile | ||
@@ -22,6 +22,11 @@ endif | ||
ifeq ($(SUBTARGET),tiny) | ||
include ./tiny-tp-link.mk | ||
include ./tiny-legacy-devices.mk | ||
+include ./generic.mk | ||
+include ./generic-legacy-devices.mk | ||
+include ./generic-senao.mk | ||
+include ./generic-tp-link.mk | ||
+include ./generic-ubnt.mk | ||
endif | ||
ifeq ($(SUBTARGET),nand) | ||
include ./nand.mk | ||
diff --git a/target/linux/ar71xx/tiny/config-default b/target/linux/ar71xx/tiny/config-default | ||
index 2e9031a24c..fa62b41047 100644 | ||
--- a/target/linux/ar71xx/tiny/config-default | ||
+++ b/target/linux/ar71xx/tiny/config-default | ||
@@ -70,3 +70,17 @@ CONFIG_SOC_AR933X=y | ||
CONFIG_SOC_AR934X=y | ||
CONFIG_SOC_QCA953X=y | ||
CONFIG_SOC_QCA956X=y | ||
+# FFF | ||
+CONFIG_ATH79_MACH_ARCHER_C25_V1=y | ||
+CONFIG_ATH79_MACH_ARCHER_C7=y | ||
+CONFIG_ATH79_MACH_CPE510=y | ||
+CONFIG_ATH79_MACH_GL_AR150=y | ||
+CONFIG_ATH79_MACH_TL_WDR3500=y | ||
+CONFIG_ATH79_MACH_TL_WDR4300=y | ||
+CONFIG_ATH79_MACH_TL_WR1043ND=y | ||
+CONFIG_ATH79_MACH_TL_WR1043ND_V2=y | ||
+CONFIG_ATH79_MACH_TL_WR1043ND_V4=y | ||
+CONFIG_ATH79_MACH_TL_WR1043N_V5=y | ||
+CONFIG_ATH79_MACH_UBNT=y | ||
+CONFIG_ATH79_MACH_UBNT_UNIFIAC=y | ||
+CONFIG_ATH79_MACH_UBNT_XM=y | ||
-- | ||
2.11.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters