Option to include .mk at end of generated Makefile
Makefile.mk
includes to be included AFTER the generated targets and variable definitions in the Makefile
Added support for - This way, the custom targets defined in the post-include
Makefile.mk
can utilize all theMakefile
variables (TOP_MODULE, detected TOOL_PATH, etc.) defined in the preamble of the HDLMake generatedMakefile
. - The initial reason for this addition is to add a bitstream file -> flash image conversion target for LiberoSoC (and potentially other tools).
In the top-level Manifest.py
, a post-include .mk
can be specified as:
incl_post_makefiles = ["proasic3_flash_conv.cygwin.mk"]