1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Eneas U de Queiroz <cote2004-github@yahoo.com>
3 Date: Thu, 27 Sep 2018 08:30:24 -0300
4 Subject: Add openwrt targets
6 Targets are named: linux-$(CONFIG_ARCH)-openwrt
8 Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
10 diff --git a/Configurations/25-openwrt.conf b/Configurations/25-openwrt.conf
13 +++ b/Configurations/25-openwrt.conf
15 +## Openwrt "CONFIG_ARCH" matching targets.
17 +# The targets need to end in '-openwrt' for the AFALG patch to work
22 + CFLAGS => add("\$(OPENWRT_OPTIMIZATION_FLAGS)"),
24 + "linux-aarch64-openwrt" => {
25 + inherit_from => [ "linux-aarch64", "openwrt" ],
27 + "linux-arc-openwrt" => {
28 + inherit_from => [ "linux-generic32", "openwrt" ],
30 + "linux-arm-openwrt" => {
31 + inherit_from => [ "linux-armv4", "openwrt" ],
33 + "linux-armeb-openwrt" => {
34 + inherit_from => [ "linux-armv4", "openwrt" ],
36 + "linux-i386-openwrt" => {
37 + inherit_from => [ "linux-x86", "openwrt" ],
39 + "linux-mips-openwrt" => {
40 + inherit_from => [ "linux-mips32", "openwrt" ],
42 + "linux-mips64-openwrt" => {
43 + inherit_from => [ "linux64-mips64", "openwrt" ],
45 + "linux-mips64el-openwrt" => {
46 + inherit_from => [ "linux64-mips64", "openwrt" ],
48 + "linux-mipsel-openwrt" => {
49 + inherit_from => [ "linux-mips32", "openwrt" ],
51 + "linux-powerpc-openwrt" => {
52 + inherit_from => [ "linux-ppc", "openwrt" ],
54 + "linux-powerpc64-openwrt" => {
55 + inherit_from => [ "linux-ppc64", "openwrt" ],
56 + perlasm_scheme => "linux64v2",
58 + "linux-x86_64-openwrt" => {
59 + inherit_from => [ "linux-x86_64", "openwrt" ],
62 +### Basic default option
63 + "linux-generic32-openwrt" => {
64 + inherit_from => [ "linux-generic32", "openwrt" ],