mbed first pass
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
# mbedtls/tf-psa-crypto user config overrides for Wii/Dolphin.
|
||||
# Both variables point to the same file; it is included after each library's
|
||||
# default config header, so #undef/#define are applied on top of the defaults.
|
||||
# Must be set before find_package(mbedtls) so FetchContent picks them up.
|
||||
set(TF_PSA_CRYPTO_USER_CONFIG_FILE
|
||||
"${CMAKE_SOURCE_DIR}/cmake/mbedtls_dolphin_config.h"
|
||||
CACHE FILEPATH "tf-psa-crypto user config for Wii/Dolphin" FORCE)
|
||||
set(MBEDTLS_USER_CONFIG_FILE
|
||||
"${CMAKE_SOURCE_DIR}/cmake/mbedtls_dolphin_config.h"
|
||||
CACHE FILEPATH "mbedtls user config for Wii/Dolphin" FORCE)
|
||||
|
||||
# Target definitions
|
||||
target_compile_definitions(${DUSK_LIBRARY_TARGET_NAME} PUBLIC
|
||||
DUSK_DOLPHIN
|
||||
DUSK_INPUT_GAMEPAD
|
||||
DUSK_DISPLAY_WIDTH=640
|
||||
DUSK_DISPLAY_HEIGHT=480
|
||||
MBEDTLS_PSA_DRIVER_GET_ENTROPY
|
||||
MBEDTLS_PLATFORM_MS_TIME_ALT
|
||||
THREAD_PTHREAD=1
|
||||
)
|
||||
|
||||
# Custom compiler flags
|
||||
|
||||
Reference in New Issue
Block a user