Changeset 2429e4a in mainline for tools/autotool.py
- Timestamp:
- 2011-07-01T16:43:09Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0feaae4
- Parents:
- f335225
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/autotool.py
rf335225 r2429e4a 243 243 outf.close() 244 244 245 args = [common['CC'], "-S", "-o", PROBE_OUTPUT, PROBE_SOURCE] 245 args = [common['CC']] 246 args.extend(common['CC_ARGS']) 247 args.extend(["-S", "-o", PROBE_OUTPUT, PROBE_SOURCE]) 246 248 247 249 try: … … 526 528 527 529 # Compiler 530 common['CC_ARGS'] = [] 528 531 if (config['COMPILER'] == "gcc_cross"): 529 532 if (config['PLATFORM'] == "abs32le"): … … 539 542 if (config['CROSS_TARGET'] == "mips32"): 540 543 gnu_target = "mipsel-linux-gnu" 544 common['CC_ARGS'].append("-mabi=32") 541 545 542 546 if (config['PLATFORM'] == "amd64"): … … 558 562 if (config['PLATFORM'] == "mips32"): 559 563 check_config(config, "MACHINE") 564 common['CC_ARGS'].append("-mabi=32") 560 565 561 566 if ((config['MACHINE'] == "lgxemul") or (config['MACHINE'] == "msim")): … … 566 571 target = "mips32eb" 567 572 gnu_target = "mips-linux-gnu" 573 574 if (config['PLATFORM'] == "mips64"): 575 check_config(config, "MACHINE") 576 common['CC_ARGS'].append("-mabi=64") 577 578 if (config['MACHINE'] == "msim"): 579 target = config['PLATFORM'] 580 gnu_target = "mips64el-linux-gnu" 568 581 569 582 if (config['PLATFORM'] == "ppc32"):
Note:
See TracChangeset
for help on using the changeset viewer.