mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Use static paths in makefile for programs
This commit uses static paths in the makefile to create programs since the script generate_visualc_files.pl cannot substitute variable paths. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
This commit is contained in:
@ -186,7 +186,6 @@ sub gen_app {
|
||||
|
||||
sub get_app_list {
|
||||
my $makefile_contents = slurp_file('programs/Makefile');
|
||||
$makefile_contents =~ s/\$\(TF-PSA-CRYPTO_PROGRAM_PATH\)/..\/tf-psa-crypto\/programs/g;
|
||||
$makefile_contents =~ /\n\s*APPS\s*=[\\\s]*(.*?)(?<!\\)[\#\n]/s
|
||||
or die "Cannot find APPS = ... in programs/Makefile\n";
|
||||
return split /(?:\s|\\)+/, $1;
|
||||
|
Reference in New Issue
Block a user