Move configs to 'configs/' and activate-config.pl should be called from root

This commit is contained in:
Paul Bakker 2014-04-25 10:04:49 +02:00
parent 0767e67d17
commit 1f69a93ab1
5 changed files with 5 additions and 8 deletions

View file

@ -3,8 +3,7 @@
* required ciphersuite: TLS_RSA_WITH_3DES_EDE_CBC_SHA * required ciphersuite: TLS_RSA_WITH_3DES_EDE_CBC_SHA
* *
* Can be activated with: * Can be activated with:
* cd scripts * scripts/activate-config.pl configs/config-mini-tls1_1.h
* ./activate-config.pl data_files/config-mini-tls1_1.h
*/ */
/* PolarSSL feature support */ /* PolarSSL feature support */

View file

@ -3,8 +3,7 @@
* Distinguishing features: no bignum, no PK, no X509. * Distinguishing features: no bignum, no PK, no X509.
* *
* Can be activated with: * Can be activated with:
* cd scripts * scripts/activate-config.pl configs/config-mini-tls1_1.h
* ./activate-config.pl data_files/config-mini-tls1_1.h
*/ */
/* PolarSSL feature support */ /* PolarSSL feature support */

View file

@ -2,8 +2,7 @@
* Minimal configuration for TLS NSA Suite B Profile (RFC 6460) * Minimal configuration for TLS NSA Suite B Profile (RFC 6460)
* *
* Can be activated with: * Can be activated with:
* cd scripts * scripts/activate-config.pl configs/config-mini-tls1_1.h
* ./activate-config.pl data_files/config-mini-tls1_1.h
*/ */
/* PolarSSL feature support */ /* PolarSSL feature support */

View file

@ -5,7 +5,7 @@
use warnings; use warnings;
use strict; use strict;
my $config_h = "../include/polarssl/config.h"; my $config_h = "include/polarssl/config.h";
exit( main() ); exit( main() );

View file

@ -49,7 +49,7 @@ while( my ($conf, $args) = each %configs ) {
print "* Testing configuration: $conf\n"; print "* Testing configuration: $conf\n";
print "******************************************\n"; print "******************************************\n";
system( "cd scripts && ./activate-config.pl data_files/$conf" ) system( "scripts/activate-config.pl configs/$conf" )
and abort "Failed to activate $conf\n"; and abort "Failed to activate $conf\n";
system( "make" ) and abort "Failed to build: $conf\n"; system( "make" ) and abort "Failed to build: $conf\n";