arm-trusted-firmware/plat/arm/board/common
Pali Rohár a98122064d Makefile: Do not mark file targets as .PHONY target
Only non-file targets should be set a .PHONY. Otherwise if file target is
set as .PHONY then targets which depends on those file .PHONY targets would
be always rebuilt even when their prerequisites are not changed.

File target which needs to be always rebuilt can be specified in Make
system via having a prerequisite on some .PHONY target, instead of marking
whole target as .PHONY. In Makefile projects it is common to create empty
.PHONY target named FORCE for this purpose.

This patch changes all file targets which are set as .PHONY to depends on
new .PHONY target FORCE, to ensure that these file targets are always
rebuilt (as before). Basically they are those targets which calls external
make subprocess.

After FORCE target is specified in main Makefile, remove it from other
Makefile files to prevent duplicate definitions.

Signed-off-by: Pali Rohár <pali@kernel.org>
Change-Id: Iee3b4e0de93879b95eb29a1745a041538412e69e
2021-01-07 13:23:15 +00:00
..
aarch32 plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
aarch64 plat/arm: Fix header dependencies 2019-01-15 14:19:50 +00:00
protpk plat/arm: Provide some PROTK files for development 2020-02-24 11:01:42 +01:00
rotpk Adds option to read ROTPK from registers for FVP 2020-02-06 16:58:53 +00:00
board_arm_trusted_boot.c plat/arm: common: add guard for arm_get_rotpk_info_regs 2020-10-06 12:14:34 +00:00
board_common.mk Makefile: Do not mark file targets as .PHONY target 2021-01-07 13:23:15 +00:00