• Masahiro Yamada's avatar
    Build: support per-BL LDFLAGS · d986bae4
    Masahiro Yamada authored
    
    
    make_helpers/build_macros.mk supports per-BL CFLAGS. For example,
    you can pass compiler flags only to BL31 by using BL31_CFLAGS.
    
    This commit adds per-BL LDFLAGS support, which is useful as well.
    
    My main motivation of this addition is to use it for ENABLE_PIE.
    When ENABLE_PIE is enabled, some linker flags are added to TF_LDFLAGS,
    which affects all the TF images. It will make more sense to pass the
    relevant options only to BL images that support it.
    
    Change-Id: I203acaab0091db5ae0ea6e66460ee7dc8d9c4d75
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    d986bae4
build_macros.mk 18.1 KB