openssl: config engines in /etc/ssl/engines.cnf.d
[openwrt/staging/chunkeey.git] / package / libs / openssl / patches / 110-openwrt_targets.patch
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
5
6 Targets are named: linux-$(CONFIG_ARCH)-openwrt
7
8 Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
9
10 diff --git a/Configurations/25-openwrt.conf b/Configurations/25-openwrt.conf
11 new file mode 100644
12 --- /dev/null
13 +++ b/Configurations/25-openwrt.conf
14 @@ -0,0 +1,52 @@
15 +## Openwrt "CONFIG_ARCH" matching targets.
16 +
17 +# The targets need to end in '-openwrt' for the AFALG patch to work
18 +
19 +my %targets = (
20 + "openwrt" => {
21 + template => 1,
22 + CFLAGS => add("\$(OPENWRT_OPTIMIZATION_FLAGS)"),
23 + },
24 + "linux-aarch64-openwrt" => {
25 + inherit_from => [ "linux-aarch64", "openwrt" ],
26 + },
27 + "linux-arc-openwrt" => {
28 + inherit_from => [ "linux-generic32", "openwrt" ],
29 + },
30 + "linux-arm-openwrt" => {
31 + inherit_from => [ "linux-armv4", "openwrt" ],
32 + },
33 + "linux-armeb-openwrt" => {
34 + inherit_from => [ "linux-armv4", "openwrt" ],
35 + },
36 + "linux-i386-openwrt" => {
37 + inherit_from => [ "linux-x86", "openwrt" ],
38 + },
39 + "linux-mips-openwrt" => {
40 + inherit_from => [ "linux-mips32", "openwrt" ],
41 + },
42 + "linux-mips64-openwrt" => {
43 + inherit_from => [ "linux64-mips64", "openwrt" ],
44 + },
45 + "linux-mips64el-openwrt" => {
46 + inherit_from => [ "linux64-mips64", "openwrt" ],
47 + },
48 + "linux-mipsel-openwrt" => {
49 + inherit_from => [ "linux-mips32", "openwrt" ],
50 + },
51 + "linux-powerpc-openwrt" => {
52 + inherit_from => [ "linux-ppc", "openwrt" ],
53 + },
54 + "linux-powerpc64-openwrt" => {
55 + inherit_from => [ "linux-ppc64", "openwrt" ],
56 + perlasm_scheme => "linux64v2",
57 + },
58 + "linux-x86_64-openwrt" => {
59 + inherit_from => [ "linux-x86_64", "openwrt" ],
60 + },
61 +
62 +### Basic default option
63 + "linux-generic32-openwrt" => {
64 + inherit_from => [ "linux-generic32", "openwrt" ],
65 + },
66 +);