Changeset 095ed4a in mainline
- Timestamp:
- 2019-08-18T11:51:53Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f1a481
- Parents:
- 45fdc55
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
meson/part/extra_targets/meson.build
r45fdc55 r095ed4a 31 31 command: [ 32 32 sh, 33 '-c', 'cd $1 && $2 $3 $4 ',33 '-c', 'cd $1 && $2 $3 $4 $5', 34 34 '--', 35 35 meson.build_root(), … … 37 37 meson.source_root() / 'HelenOS.config', 38 38 meson.source_root() / 'defaults', 39 '--mask-platform', 39 40 ] 40 41 ) -
tools/config.py
r45fdc55 r095ed4a 46 46 ARGPOS_CHOICE = 3 47 47 ARGPOS_PRESET = 4 48 ARGPOS_MASK_PLATFORM = 3 48 49 49 50 RULES_FILE = sys.argv[ARGPOS_RULES] … … 691 692 preset = None 692 693 694 mask_platform = (len(sys.argv) > ARGPOS_MASK_PLATFORM and sys.argv[ARGPOS_MASK_PLATFORM] == "--mask-platform") 695 693 696 # Input configuration file can be specified on command line 694 697 # otherwise configuration from previous run is used. … … 756 759 options = [] 757 760 opt2row = {} 758 cnt = 1 759 760 options.append(" --- Load preconfigured defaults ... ") 761 cnt = 0 762 763 if not mask_platform: 764 cnt += 1 765 options.append(" --- Load preconfigured defaults ... ") 761 766 762 767 for rule in rules: … … 764 769 765 770 if cond and not cond.evaluate(config): 771 continue 772 773 if mask_platform and (varname == "PLATFORM" or varname == "MACHINE" or varname == "COMPILER"): 766 774 continue 767 775 … … 812 820 continue 813 821 814 if value == 0 :822 if value == 0 and not mask_platform: 815 823 profile = choose_profile(PRESETS_DIR, MAKEFILE, screen, config) 816 824 if profile != None:
Note:
See TracChangeset
for help on using the changeset viewer.