297940d5d9
The project top-level Makefile accept the all, clean and clean-all targets and forward them to their sub-projects. Create a common Makefile include that can be used to implement this behavior. The shared Makefile collects all sub-directories that have a Makefile and then forwards the all, clean and clean-all targets to them. This is implemented by creating virtual targets for each combination of sub-project and all, clean, clean-all targets in the form of "$project/all", ... These virtual sub-targets are then listed as the prerequisites of the project top-level Makefile targets. This means there is no longer a need to re-generate top-level Makefiles when a new project or sub-project is added. It will also allow to remove a lot of boilerplate code. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> |
||
---|---|---|
.. | ||
adi_board.tcl | ||
adi_env.tcl | ||
adi_prcfg_project.tcl | ||
adi_project.tcl | ||
adi_project_alt.tcl | ||
adi_tquest.tcl | ||
adi_xilinx_msg.tcl | ||
project-altera.mk | ||
project-toplevel.mk | ||
project-xilinx.mk |