Changeset 476ac3b in mainline
- Timestamp:
- 2017-10-27T16:53:02Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd162f6
- Parents:
- bc6cdc4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
rbc6cdc4 r476ac3b 605 605 ! CONFIG_STRIP_BINARIES (n/y) 606 606 607 % Strip revision information (helpful when comparing outputs) 608 ! CONFIG_STRIP_REVISION_INFO (n/y) 609 607 610 % Optimization level 608 611 @ "3" Level 3 (recommended). -
tools/config.py
rbc6cdc4 r476ac3b 445 445 def create_output(mkname, mcname, config, rules): 446 446 "Create output configuration" 447 448 timestamp_unix = int(time.time()) 447 448 varname_strip = 'CONFIG_STRIP_REVISION_INFO' 449 strip_rev_info = (varname_strip in config) and (config[varname_strip] == 'y') 450 451 if strip_rev_info: 452 timestamp_unix = int(0) 453 else: 454 # TODO: Use commit timestamp instead of build time. 455 timestamp_unix = int(time.time()) 456 449 457 timestamp = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(timestamp_unix)) 450 458 … … 458 466 sys.stderr.write("failed\n") 459 467 460 if len(version) == 3:468 if (not strip_rev_info) and (len(version) == 3): 461 469 revision = version[1] 462 470 if version[0] != 1:
Note:
See TracChangeset
for help on using the changeset viewer.