arm-trusted-firmware/make_helpers/toolchains/host.mk
Chris Kay d286739716 build: make Poetry optional
The Yocto team has requested that we do not use Poetry from within the
Makefile, as Yocto does not have network access during the build
process.

We want to maintain the current behaviour, so this change makes our use
of Poetry contigent on it being available in the environment.

Additionally, explicitly passing an empty toolchain parameter now allows
a tool to be *disabled* (e.g. passing `POETRY=` will prevent the build
system from trying to use Poetry).

Change-Id: Ibf552a3fee1eaadee767a1b948b559700083b401
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-09-26 14:23:20 +00:00

44 lines
961 B
Makefile

#
# Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
host-name := host
host-cc-parameter := HOSTCC
host-cc-default-id := gnu-gcc
host-cc-default := gcc
host-cpp-parameter := HOSTCPP
host-cpp-default-id := gnu-gcc
host-cpp-default := gcc
host-as-parameter := HOSTAS
host-as-default-id := gnu-gcc
host-as-default := gcc
host-ld-parameter := HOSTLD
host-ld-default-id := gnu-gcc
host-ld-default := gcc
host-oc-parameter := HOSTOC
host-oc-default-id := gnu-objcopy
host-oc-default := objcopy
host-od-parameter := HOSTOD
host-od-default-id := gnu-objdump
host-od-default := objdump
host-ar-parameter := HOSTAR
host-ar-default-id := gnu-ar
host-ar-default := gcc-ar
host-dtc-parameter := HOSTDTC
host-dtc-default-id := generic-dtc
host-dtc-default := dtc
host-poetry-parameter := POETRY
host-poetry-optional := yes
host-poetry-default-id := generic-poetry
host-poetry-default := poetry