Skip to content

Option to include .mk at end of generated Makefile

Istvan Kiss requested to merge add-post-include-mkfile-support-rebase into develop

Added support for Makefile.mk includes to be included AFTER the generated targets and variable definitions in the Makefile

  • This way, the custom targets defined in the post-include Makefile.mk can utilize all the Makefile variables (TOP_MODULE, detected TOOL_PATH, etc.) defined in the preamble of the HDLMake generated Makefile.
  • 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"]

Merge request reports