Skip to content

Commit 70f9497

Browse files
Hanno BeckerPatater
authored andcommitted
Mbed TLS importer: Call config.pl --force to accept unknown option
The new PSA-aware Mbed TLS importer script calls `config.pl` on the Mbed TLS config.h to set the PSA configuration option MBEDTLS_PSA_CRYPTO_STORAGE_C which isn't documented in config.h. config.pl therefore fails, and so does the importer. This commit fixes this by calling `config.pl` with the `--force` option which amends the given `config.h` by a `#define` for the requested option if the option isn't present in the file.
1 parent 1f4584f commit 70f9497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/mbedtls/importer/adjust-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SCRIPT=$1
2222
FILE=$2
2323

2424
conf() {
25-
$SCRIPT -f $FILE $@
25+
$SCRIPT -f $FILE --force $@
2626
}
2727

2828
add_code() {

0 commit comments

Comments
 (0)