scripts/image: include adjustments to cflags made by toolchain setup

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2022-02-19 07:30:16 +00:00
parent 7a6f1b219c
commit 41d833c2aa

View File

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