Merge pull request #6262 from antonlacon/show-config-cflags

Account for setup_toolchain in show_config's reported CFLAGS/LDFLAGS
This commit is contained in:
CvH 2022-02-27 21:16:40 +01:00 committed by GitHub
commit b284b18d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -19,8 +19,6 @@ if [ "${BOOTLOADER}" = "u-boot" -a -n "${DEVICE}" ]; then
fi
fi
show_config
${SCRIPTS}/checkdeps
# Setup both toolchain cmake configs to avoid potentially racy behaviour later.
@ -28,6 +26,8 @@ ${SCRIPTS}/checkdeps
( setup_toolchain host )
setup_toolchain target
show_config
function do_mkimage() {
# Variables used in mkimage script must be passed
env \

View File

@ -6,4 +6,7 @@
. config/options ""
. config/show_config
# Needed to obtain some CFLAGS/LDFLAGS
setup_toolchain target
show_config