OpenWrt – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 From bf4f3a5696c65b4a48935599ccba43311c114c95 Mon Sep 17 00:00:00 2001
2 From: Eneas U de Queiroz <cote2004-github@yahoo.com>
3 Date: Thu, 27 Sep 2018 08:29:21 -0300
4 Subject: Do not use host kernel version to disable AFALG
5  
6 This patch prevents the Configure script from using the host kernel
7 version to disable building the AFALG engine on openwrt targets.
8  
9 Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
10  
11 --- a/Configure
12 +++ b/Configure
13 @@ -1554,7 +1554,9 @@ unless ($disabled{"crypto-mdebug-backtra
14  
15 unless ($disabled{afalgeng}) {
16 $config{afalgeng}="";
17 - if (grep { $_ eq 'afalgeng' } @{$target{enable}}) {
18 + if ($target =~ m/openwrt$/) {
19 + push @{$config{engdirs}}, "afalg";
20 + } elsif (grep { $_ eq 'afalgeng' } @{$target{enable}}) {
21 my $minver = 4*10000 + 1*100 + 0;
22 if ($config{CROSS_COMPILE} eq "") {
23 my $verstr = `uname -r`;