Improved on option parsing help + added it to configure.py as well.

This commit is contained in:
Bahadir Balban
2009-09-26 17:01:44 +03:00
parent 10d2d7269f
commit a1fa446ef2
3 changed files with 54 additions and 41 deletions

View File

@@ -7,6 +7,7 @@ from config.projpaths import *
from config.configuration import *
from scripts.bare.bare_generator import *
from scripts.conts.generate_kernel_cinfo import *
from config.parse_options import *
def cml2_header_to_symbols(cml2_header, config):
with file(cml2_header) as header_file:
@@ -64,7 +65,6 @@ def configure_kernel(cml_file):
generate_kernel_cinfo(config.containers, KERNEL_CINFO_PATH)
if __name__ == "__main__":
if not os.path.exists(join(CML2_CONFIG_SRCDIR, 'out.cml')):
generate_container_cml(4)
build_parse_options()
configure_kernel(join(CML2_CONFIG_SRCDIR, "out.cml"))