mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 23:04:28 +01:00
tests: add baremetal full config build
To be able to test utility programs for an absence of time.h, we need a baremetal config that is not crypto only. Add one. Signed-off-by: Daniel Axtens <dja@axtens.net>
This commit is contained in:
parent
2db000feb6
commit
1a021afd7d
@ -1511,6 +1511,15 @@ component_build_crypto_baremetal () {
|
|||||||
are_empty_libraries library/libmbedx509.* library/libmbedtls.*
|
are_empty_libraries library/libmbedx509.* library/libmbedtls.*
|
||||||
}
|
}
|
||||||
support_build_crypto_baremetal () {
|
support_build_crypto_baremetal () {
|
||||||
|
support_build_baremetal "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
component_build_baremetal () {
|
||||||
|
msg "build: make, baremetal config"
|
||||||
|
scripts/config.py baremetal
|
||||||
|
make CFLAGS="-O1 -Werror -I$(pwd)/tests/include/baremetal-override/"
|
||||||
|
}
|
||||||
|
support_build_baremetal () {
|
||||||
# Older Glibc versions include time.h from other headers such as stdlib.h,
|
# Older Glibc versions include time.h from other headers such as stdlib.h,
|
||||||
# which makes the no-time.h-in-baremetal check fail. Ubuntu 16.04 has this
|
# which makes the no-time.h-in-baremetal check fail. Ubuntu 16.04 has this
|
||||||
# problem, Ubuntu 18.04 is ok.
|
# problem, Ubuntu 18.04 is ok.
|
||||||
|
Loading…
Reference in New Issue
Block a user