mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

This change migrates the values of `CC`, `CPP`, `AS` and other toolchain variables to the new `$(toolchain)-$(tool)` variables, which were introduced by the toolchain refactor patch. These variables should be equivalent to the values that they're replacing. Change-Id: I644fe4ce82ef1894bed129ddb4b6ab94fb04985d Signed-off-by: Chris Kay <chris.kay@arm.com>
25 lines
668 B
Makefile
25 lines
668 B
Makefile
#
|
|
# Copyright (c) 2021-2022, STMicroelectronics - All Rights Reserved
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# Name of the platform defined source file name,
|
|
# which contains platform defined UUID entries populated
|
|
# in the plat_def_toc_entries[].
|
|
PLAT_DEF_UUID_FILE_NAME := plat_def_uuid_config
|
|
|
|
INCLUDE_PATHS += -I${PLAT_DIR}/include -I./
|
|
|
|
PLAT_DEF_UUID := yes
|
|
|
|
ifeq (${PLAT_DEF_UUID},yes)
|
|
HOSTCCFLAGS += -DPLAT_DEF_FIP_UUID
|
|
|
|
${PLAT_DEF_UUID_FILE_NAME}.o: plat_fiptool/st/stm32mp1/${PLAT_DEF_UUID_FILE_NAME}.c
|
|
$(host-cc) -c ${CPPFLAGS} ${HOSTCCFLAGS} ${INCLUDE_PATHS} $< -o $@
|
|
|
|
PLAT_OBJECTS += ${PLAT_DEF_UUID_FILE_NAME}.o
|
|
endif
|
|
|
|
OBJECTS += ${PLAT_OBJECTS}
|