<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 3d43acc6068f00dbfc0c9a06355e2c8f7d302d0f Mon Sep 17 00:00:00 2001
From: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
Date: Thu, 27 Sep 2018 08:30:24 -0300
Subject: Add openwrt targets

Targets are named: linux-$(CONFIG_ARCH)-openwrt

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;

--- /dev/null
+++ b/Configurations/25-openwrt.conf
@@ -0,0 +1,48 @@
+## Openwrt "CONFIG_ARCH" matching targets.
+
+# The targets need to end in '-openwrt' for the AFALG patch to work
+
+my %targets = (
+    "openwrt" =&gt; {
+	template	=&gt; 1,
+	CFLAGS		=&gt; add("\$(OPENWRT_OPTIMIZATION_FLAGS)"),
+    },
+    "linux-aarch64-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-aarch64", "openwrt" ],
+    },
+    "linux-arc-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-generic32", "openwrt" ],
+    },
+    "linux-arm-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-armv4", "openwrt" ],
+    },
+    "linux-armeb-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-armv4", "openwrt" ],
+    },
+    "linux-i386-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-x86", "openwrt" ],
+    },
+    "linux-mips-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-mips32", "openwrt" ],
+    },
+    "linux-mips64-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux64-mips64", "openwrt" ],
+    },
+    "linux-mips64el-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux64-mips64", "openwrt" ],
+    },
+    "linux-mipsel-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-mips32", "openwrt" ],
+    },
+    "linux-powerpc-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-ppc", "openwrt" ],
+    },
+    "linux-x86_64-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-x86_64", "openwrt" ],
+    },
+
+### Basic default option
+    "linux-generic32-openwrt" =&gt; {
+        inherit_from    =&gt; [ "linux-generic32", "openwrt" ],
+    },
+);
</pre></body></html>