1 # SPDX-License-Identifier: BSD-2-Clause
4 project_dir
=..
/..
/..
/..
/3rdparty
/stm
/
5 build_dir
=$(project_dir
)/Stm
/build
6 project_git_branch
=$(CONFIG_STM_GIT_BRANCH
)
8 ifeq ($(CONFIG_STM_CONSOLE_DEBUG
),y
)
12 ifeq ($(CONFIG_STM_CONSOLE_RELEASE
),y
)
21 echo
"-- WARNING: This uses the system toolchain instead of"
22 echo
" the coreboot toolchain, so is not reproducible."
23 cd
$(project_dir
)/Stm
; \
26 cmake ..
-DBIOS
=coreboot \
27 -DUART
=$(CONFIG_STM_TTYS0_BASE
) \
28 -DHEAPSIZE
=$(CONFIG_STM_HEAPSIZE
) \
29 -DCBMEM_ENABLE
=$(CONFIG_STM_CBMEM_CONSOLE
) \
30 -DSTMPE_ENABLED
=$(CONFIG_STM_STMPE_ENABLED
) \
31 -DBUILD
=$(STM_BUILD
); \