Files
openwrt/package/libs/openssl/patches/110-openwrt_targets.patch
T
Andre Heider e3271a6786 treewide: remove unused archs leftovers
These are all unused by the current targets, clean up and stop
irritating the user with irrelevant grep results.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23240
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-07 10:58:47 +02:00

65 lines
1.8 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Eneas U de Queiroz <cote2004-github@yahoo.com>
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 <cote2004-github@yahoo.com>
--- /dev/null
+++ b/Configurations/25-openwrt.conf
@@ -0,0 +1,52 @@
+## Openwrt "CONFIG_ARCH" matching targets.
+
+# The targets need to end in '-openwrt' for the AFALG patch to work
+
+my %targets = (
+ "linux-aarch64-openwrt" => {
+ inherit_from => [ "linux-aarch64" ],
+ },
+ "linux-arm-openwrt" => {
+ inherit_from => [ "linux-armv4" ],
+ },
+ "linux-armeb-openwrt" => {
+ inherit_from => [ "linux-armv4" ],
+ },
+ "linux-i386-openwrt" => {
+ inherit_from => [ "linux-x86" ],
+ },
+ "linux-loongarch64-openwrt" => {
+ inherit_from => [ "linux64-loongarch64" ],
+ },
+ "linux-mips-openwrt" => {
+ inherit_from => [ "linux-mips32" ],
+ },
+ "linux-mips64-openwrt" => {
+ inherit_from => [ "linux64-mips64" ],
+ },
+ "linux-mips64el-openwrt" => {
+ inherit_from => [ "linux64-mips64" ],
+ },
+ "linux-mipsel-openwrt" => {
+ inherit_from => [ "linux-mips32" ],
+ },
+ "linux-powerpc-openwrt" => {
+ inherit_from => [ "linux-ppc" ],
+ },
+ "linux-powerpc64-openwrt" => {
+ inherit_from => [ "linux-ppc64" ],
+ perlasm_scheme => "linux64v2",
+ },
+ "linux-riscv64-openwrt" => {
+ inherit_from => [ "linux-generic64" ],
+ perlasm_scheme => "linux64",
+ },
+ "linux-x86_64-openwrt" => {
+ inherit_from => [ "linux-x86_64" ],
+ },
+
+### Basic default option
+ "linux-generic32-openwrt" => {
+ inherit_from => [ "linux-generic32" ],
+ },
+);