]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/tools_def.template
BaseTools/tools_def RISCV: Make OpenSBI references RISCV-only
authorArd Biesheuvel <ardb@kernel.org>
Thu, 5 Jan 2023 14:29:39 +0000 (15:29 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 17 Jan 2023 14:06:43 +0000 (14:06 +0000)
commit096cd41ce734a5959f3afa535bb88c6fb78bd1c7
treeadd735b540700919e588a48e1b8cc6597032f401
parentd05739a3ff88457ae3ce90db3e91e9d2a11949c8
BaseTools/tools_def RISCV: Make OpenSBI references RISCV-only

The global GCC_PP_FLAGS tools_def variable now contains a reference to
OpenSBI specific C preprocessor variables, which means they are added to
the command line on every architecture, not just RISC-V.

This does not currently result in any issues, but it is a bit sloppy so
let's clean this up. Given that the GCC_PP_FLAGS definition appears
twice, drop the one that carries the OpenSBI reference, and move that
reference to a new RISC-V specific variable.

Acked-by: Abner Chang <abner.chang@amd.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
BaseTools/Conf/tools_def.template