From 2a5669c2cd301f03bdccc3ebbe8365fb2e3bf186 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 1 Oct 2023 22:12:13 +0100 Subject: [PATCH] enable openwrt mediatek family patches --- pkgs/openwrt/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/openwrt/default.nix b/pkgs/openwrt/default.nix index e661c77..53bd0a5 100644 --- a/pkgs/openwrt/default.nix +++ b/pkgs/openwrt/default.nix @@ -14,6 +14,7 @@ let cp -av ${src}/target/linux/generic/files/* . chmod -R u+w . cp -av ${src}/target/linux/${family}/files/* . + test -d ${src}/target/linux/${family}/files-5.15/ && cp -av ${src}/target/linux/${family}/files-5.15/* . chmod -R u+w . patches() { for i in $* ; do patch --batch --forward -p1 < $i ;done @@ -32,4 +33,5 @@ in { inherit src; applyPatches.ath79 = doPatch "ath79"; applyPatches.ramips = doPatch "ramips"; + applyPatches.mediatek = doPatch "mediatek"; # aarch64 }