From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 Description of problem: There needs to be a way of manipulating eCos configuration data from inside scripts. The absence of such functionality makes it very difficult to perform many useful operations such as writing batch scripts that create a custom eCos operation, or writing an import file that removes a package. It also prevents development of new tools such as cdllint. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run the following script: #! ecosconfig cdlsh cdl_config new linux default cdl_set CYGPKG_INFRA_DEBUG 1 cdl_set CYGDBG_USE_TRACING 1 cdl_config save cdl_config tree exec make 2. 3. Actual Results: Usage: ecosconfig [ qualifier ... ] [ command ] commands are: list : list repository contents new TARGET [ TEMPLATE [ VERSION ] ] : create a configuration target TARGET : change the target hardware template TEMPLATE [ VERSION ] : change the template add PACKAGE [ PACKAGE ... ] : add package(s) remove PACKAGE [ PACKAGE ... ] : remove package(s) version VERSION PACKAGE [ PACKAGE ... ] : change version of package(s) export FILE : export minimal config info import FILE : import additional config info check : check the configuration resolve : resolve conflicts tree : create a build tree qualifiers are: --config=FILE : the configuration file --prefix=DIRECTORY : the install prefix --srcdir=DIRECTORY : the source repository --no-resolve : disable conflict resolution --version : show version and copyright -q, --quiet : reduce verbosity -v, --verbose : increase verbosity -i, --ignore-errors : ignore unresolved conflicts --help : display this message Expected Results: The script should have created a configuration, modified it, written out the savefile, generated a build tree, and built eCos. Additional info:
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=57932