1 From 3d43acc6068f00dbfc0c9a06355e2c8f7d302d0f 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
12 index 0000000000..86a86d31e4
14 +++ b/Configurations/25-openwrt.conf
16 +## Openwrt "CONFIG_ARCH" matching targets.
18 +# The targets need to end in '-openwrt' for the AFALG patch to work
23 + CFLAGS => add("\$(OPENWRT_OPTIMIZATION_FLAGS)"),
25 + "linux-aarch64-openwrt" => {
26 + inherit_from => [ "linux-aarch64", "openwrt" ],
28 + "linux-arc-openwrt" => {
29 + inherit_from => [ "linux-generic32", "openwrt" ],
31 + "linux-arm-openwrt" => {
32 + inherit_from => [ "linux-armv4", "openwrt" ],
34 + "linux-armeb-openwrt" => {
35 + inherit_from => [ "linux-armv4", "openwrt" ],
37 + "linux-i386-openwrt" => {
38 + inherit_from => [ "linux-x86", "openwrt" ],
40 + "linux-mips-openwrt" => {
41 + inherit_from => [ "linux-mips32", "openwrt" ],
43 + "linux-mips64-openwrt" => {
44 + inherit_from => [ "linux64-mips64", "openwrt" ],
46 + "linux-mips64el-openwrt" => {
47 + inherit_from => [ "linux64-mips64", "openwrt" ],
49 + "linux-mipsel-openwrt" => {
50 + inherit_from => [ "linux-mips32", "openwrt" ],
52 + "linux-powerpc-openwrt" => {
53 + inherit_from => [ "linux-ppc", "openwrt" ],
55 + "linux-x86_64-openwrt" => {
56 + inherit_from => [ "linux-x86_64", "openwrt" ],
59 +### Basic default option
60 + "linux-generic32-openwrt" => {
61 + inherit_from => [ "linux-generic32", "openwrt" ],