Top-level SConsctruct can now retrive shelved configuration

By moving shelve retrieval details to configuration_retrieve()
into configuration.py, the top-level SConstruct can now get full
configuration object from shelve.
This commit is contained in:
Bahadir Balban
2009-09-14 11:52:01 +03:00
parent 2f8df84cf2
commit dd04734491
4 changed files with 39 additions and 36 deletions

View File

@@ -44,11 +44,6 @@ def configure_kernel(cml_file):
cml2_header_to_symbols(CML2_CONFIG_H, config)
cml2_update_config_h(CONFIG_H, config)
configuration_save(config)
# config2 = configuration_retrieve()
# print "containers: " + config2.ncontainers
# for c in config2.containers:
# print c.type
# print c.id
if __name__ == "__main__":
configure_kernel(join(CML2_CONFIG_SRCDIR, "arm.cml"))