Changeset e3c3172 in mainline
- Timestamp:
- 2010-12-06T12:40:37Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bea023b9
- Parents:
- d40ffbb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rd40ffbb re3c3172 66 66 67 67 config_default: $(CONFIG_RULES) 68 ifeq ($(HANDS_OFF),y) 69 $(CONFIG) $< hands-off $(PROFILE) 70 else 68 71 $(CONFIG) $< default $(PROFILE) 72 endif 69 73 70 74 config: $(CONFIG_RULES) -
tools/config.py
rd40ffbb re3c3172 495 495 read_config(MAKEFILE, config) 496 496 497 # Default mode: onlycheck values and regenerate configuration files497 # Default mode: check values and regenerate configuration files 498 498 if (len(sys.argv) >= 3) and (sys.argv[2] == 'default'): 499 499 if (infer_verify_choices(config, rules)): 500 500 create_output(MAKEFILE, MACROS, config, rules) 501 501 return 0 502 503 # Hands-off mode: check values and regenerate configuration files, 504 # but no interactive fallback 505 if (len(sys.argv) >= 3) and (sys.argv[2] == 'hands-off'): 506 # We deliberately test sys.argv >= 4 because we do not want 507 # to read implicitly any possible previous run configuration 508 if len(sys.argv) < 4: 509 sys.stderr.write("Configuration error: No presets specified\n") 510 return 2 511 512 if (infer_verify_choices(config, rules)): 513 create_output(MAKEFILE, MACROS, config, rules) 514 return 0 515 516 sys.stderr.write("Configuration error: The presets are ambiguous\n") 517 return 1 502 518 503 519 # Check mode: only check configuration
Note:
See TracChangeset
for help on using the changeset viewer.