Skip to content

FIPTOOL variable is not propagated to the fip_create's sub-Makefile #277

Open
@sandrine-bailleux-arm

Description

The top-level Makefile allows to configure the path to the directory containing the FIP tool's sources (through the variable FIPTOOLPATH) and the path to the FIP tool binary (through the variable FIPTOOL). See https://github.com/ARM-software/arm-trusted-firmware/blob/master/Makefile#L256-257

However, the FIP tool's sub-Makefile, i.e. tools/fip_create/Makefile, hard-codes the FIP tool's binary name through the variable PROJECT, overwriting any alternative name specified to the top-level Makefile. See https://github.com/ARM-software/arm-trusted-firmware/blob/master/tools/fip_create/Makefile#L31

The FIP tool's binary name should be propagated from the top-level Makefile to the tool's sub-Makefile. The top-level Makefile could export the FIPTOOL variable to the tool's sub-Makefile, which would define the variable PROJECT from it.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions