Closed sandrine-bailleux-arm closed 10 years ago
This bug is due to the way the dependency checking is triggered. The Makefile currently specifies a blacklist of rules for which dependency checking must not be triggered. See https://github.com/ARM-software/arm-trusted-firmware/blob/master/Makefile#L240 and https://github.com/ARM-software/arm-trusted-firmware/blob/master/Makefile#L258 The blacklist includes 'clean', 'realclean' and 'distclean' at the moment. For all other rules (including 'help') dependency checking is triggered.
A blacklist seems a bit fragile. It would be more robust to have a whitelist of rules for which dependency checking must be triggered. It would include all build targets (bl1, bl2, bl31, bl32).
Whitelist should include 'fip' and 'all' too.
'make help' triggers dependency checking whereas it shouldn't: