Changes in / [f5211ee:8c2b3ef] in mainline
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rf5211ee r8c2b3ef 41 41 CONFIG_HEADER = config.h 42 42 43 ifeq ($(PROFILE),) 44 PRESETS_FILE = 45 else 46 PRESETS_FILE = defaults/$(PROFILE)/Makefile.config 47 endif 48 49 .PHONY: all precheck cscope autotool config_auto config_default config distclean clean 43 .PHONY: all precheck cscope autotool config_default config distclean clean 50 44 51 45 all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) … … 72 66 73 67 config_default: $(CONFIG_RULES) 74 $(CONFIG) $< default $(PRESETS_FILE)68 $(CONFIG) $< default 75 69 76 70 config: $(CONFIG_RULES) -
tools/config.py
rf5211ee r8c2b3ef 454 454 455 455 def main(): 456 cfgfile_in = None457 456 config = {} 458 457 rules = [] … … 461 460 parse_rules(RULES_FILE, rules) 462 461 463 # Input configuration file can be specified on command line 464 # otherwise configuration from previous run is used. 465 if len(sys.argv) >= 4: 466 cfgfile_in = sys.argv[3] 467 else: 468 cfgfile_in = MAKEFILE 469 470 # Read configuration file 471 if os.path.exists(cfgfile_in): 472 read_config(cfgfile_in, config) 462 # Read configuration from previous run 463 if os.path.exists(MAKEFILE): 464 read_config(MAKEFILE, config) 473 465 474 466 # Default mode: only check values and regenerate configuration files
Note:
See TracChangeset
for help on using the changeset viewer.