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>
11 +++ b/Configurations/25-openwrt.conf
13 +## Openwrt "CONFIG_ARCH" matching targets.
15 +# The targets need to end in '-openwrt' for the AFALG patch to work
20 + CFLAGS => add("\$(OPENWRT_OPTIMIZATION_FLAGS)"),
22 + "linux-aarch64-openwrt" => {
23 + inherit_from => [ "linux-aarch64", "openwrt" ],
25 + "linux-arc-openwrt" => {
26 + inherit_from => [ "linux-latomic", "openwrt" ],
28 + "linux-arm-openwrt" => {
29 + inherit_from => [ "linux-armv4", "openwrt" ],
31 + "linux-armeb-openwrt" => {
32 + inherit_from => [ "linux-armv4", "openwrt" ],
34 + "linux-i386-openwrt" => {
35 + inherit_from => [ "linux-x86", "openwrt" ],
37 + "linux-mips-openwrt" => {
38 + inherit_from => [ "linux-mips32", "openwrt" ],
40 + "linux-mips64-openwrt" => {
41 + inherit_from => [ "linux64-mips64", "openwrt" ],
43 + "linux-mips64el-openwrt" => {
44 + inherit_from => [ "linux64-mips64", "openwrt" ],
46 + "linux-mipsel-openwrt" => {
47 + inherit_from => [ "linux-mips32", "openwrt" ],
49 + "linux-powerpc-openwrt" => {
50 + inherit_from => [ "linux-ppc", "openwrt" ],
52 + "linux-powerpc64-openwrt" => {
53 + inherit_from => [ "linux-ppc64", "openwrt" ],
54 + perlasm_scheme => "linux64v2",
56 + "linux-x86_64-openwrt" => {
57 + inherit_from => [ "linux-x86_64", "openwrt" ],
60 +### Basic default option
61 + "linux-generic32-openwrt" => {
62 + inherit_from => [ "linux-generic32", "openwrt" ],