mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Invoke generate_query_config.pl from the root
Otherwise it can't find headers to include. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -56,6 +56,7 @@ if(GEN_FILES)
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/../../tf-psa-crypto/include/psa/crypto_config.h
|
${CMAKE_CURRENT_SOURCE_DIR}/../../tf-psa-crypto/include/psa/crypto_config.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/data_files/query_config.fmt
|
${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/data_files/query_config.fmt
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/query_config.c
|
${CMAKE_CURRENT_BINARY_DIR}/query_config.c
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../..
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/generate_query_config.pl
|
${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/generate_query_config.pl
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
|
${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
|
||||||
|
@@ -49,6 +49,8 @@ if( @ARGV ) {
|
|||||||
or die "No arguments supplied, must be run from project root or a first-level subdirectory\n";
|
or die "No arguments supplied, must be run from project root or a first-level subdirectory\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
-f 'include/mbedtls/build_info.h'
|
||||||
|
or die "$0: must be run from project root, or from a first-level subdirectory with no arguments\n";
|
||||||
|
|
||||||
# Excluded macros from the generated query_config.c. For example, macros that
|
# Excluded macros from the generated query_config.c. For example, macros that
|
||||||
# have commas or function-like macros cannot be transformed into strings easily
|
# have commas or function-like macros cannot be transformed into strings easily
|
||||||
|
Reference in New Issue
Block a user