aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt7621.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-03-27 21:26:31 +0200
committerFelix Fietkau <nbd@nbd.name>2022-03-27 21:36:40 +0200
commita3764ee29dd09394fa750c78160e300d86532561 (patch)
tree5698d325acdbd921f7fa4203149adf3b5fb87f39 /target/linux/ramips/image/mt7621.mk
parentac11f36b337da29f422d16776cf36c98013dcc77 (diff)
downloadupstream-a3764ee29dd09394fa750c78160e300d86532561.tar.gz
upstream-a3764ee29dd09394fa750c78160e300d86532561.tar.bz2
upstream-a3764ee29dd09394fa750c78160e300d86532561.zip
ramips: add linux 5.15 support for mt7621
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r--target/linux/ramips/image/mt7621.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index cd28e36917..1e9b59d74f 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -9,6 +9,10 @@ DEFAULT_SOC := mt7621
KERNEL_DTB += -d21
DEVICE_VARS += ELECOM_HWNAME LINKSYS_HWNAME
+ifdef CONFIG_LINUX_5_10
+ DTS_CPPFLAGS += -DDTS_LEGACY
+endif
+
define Build/beeline-trx
echo -ne "hsqs" > $@.hsqs
$(STAGING_DIR_HOST)/bin/otrx create $@.trx -M 0x746f435d -f $@ \