mirror of
https://github.com/drasko/codezero.git
synced 2026-02-28 09:43:14 +01:00
CML2 rule file is autogenerated from arm.cml and the containers template
Container rules are too many and repetitive for each container. With this change, the cml file is autogenerated from a container template cml and the architecture cml, e.g. arm.cml. -c option determines the number of containers. See build.py -h for more.
This commit is contained in:
@@ -10,7 +10,7 @@ PROJROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
|
||||
BUILDDIR = join(PROJROOT, "build")
|
||||
TOOLSDIR = join(PROJROOT, "tools")
|
||||
CML2_CONFIG_SRCDIR = join(PROJROOT, "config/cml")
|
||||
CML2_RULES_FILE = join(CML2_CONFIG_SRCDIR, 'arm.cml')
|
||||
CML2_CML_FILE = join(CML2_CONFIG_SRCDIR, 'out.cml')
|
||||
CML2_CONT_DEFFILE = join(PROJROOT, 'config/cml/container.template.cml')
|
||||
CML2TOOLSDIR = join(TOOLSDIR, "cml2-tools")
|
||||
CML2RULES = join(BUILDDIR, "cml2_rules.out")
|
||||
|
||||
Reference in New Issue
Block a user