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:
Bahadir Balban
2009-09-26 16:39:04 +03:00
parent fbb1800562
commit 10d2d7269f
8 changed files with 299 additions and 352 deletions

View File

@@ -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")