Changeset 2429e4a in mainline
- Timestamp:
- 2011-07-01T16:43:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0feaae4
- Parents:
- f335225
- Files:
-
- 87 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
rf335225 r2429e4a 37 37 @ "ia64" Intel IA-64 38 38 @ "mips32" MIPS 32-bit 39 @ "mips64" MIPS 64-bit 39 40 @ "ppc32" PowerPC 32-bit (iMac G4) 40 41 @ "sparc64" Sun UltraSPARC 64-bit … … 46 47 @ "lgxemul" GXEmul little endian 47 48 ! [PLATFORM=mips32] MACHINE (choice) 49 50 % Machine type 51 @ "msim" MSIM 52 ! [PLATFORM=mips64] MACHINE (choice) 48 53 49 54 % Machine type … … 122 127 123 128 % Kernel architecture 129 @ "mips64" 130 ! [PLATFORM=mips64] KARCH (choice) 131 132 % Kernel architecture 124 133 @ "ppc32" 125 134 ! [PLATFORM=ppc32] KARCH (choice) … … 165 174 166 175 % User space architecture 176 @ "mips64" 177 ! [PLATFORM=mips64] UARCH (choice) 178 179 % User space architecture 167 180 @ "ppc32" 168 181 ! [PLATFORM=ppc32] UARCH (choice) … … 206 219 @ "mips32" 207 220 ! [PLATFORM=mips32] BARCH (choice) 221 222 % Boot architecture 223 @ "mips64" 224 ! [PLATFORM=mips64] BARCH (choice) 208 225 209 226 % Boot architecture … … 229 246 @ "ecoff" 230 247 ! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] IMAGE (choice) 248 249 % Image format 250 @ "binary" 251 ! [PLATFORM=mips64] IMAGE (choice) 231 252 232 253 … … 256 277 @ "gcc_cross" GNU C Compiler (cross-compiler) 257 278 @ "gcc_native" GNU C Compiler (native) 258 ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM= ppc32] COMPILER (choice)279 ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32] COMPILER (choice) 259 280 260 281 % Compiler … … 292 313 293 314 % Page hash table support 294 ! [PLATFORM=ia64|PLATFORM= sparc64] CONFIG_PAGE_HT (y)315 ! [PLATFORM=ia64|PLATFORM=mips64|PLATFORM=sparc64] CONFIG_PAGE_HT (y) 295 316 296 317 % Software integer division support 297 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM= ppc32] CONFIG_SOFTINT (y)318 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32] CONFIG_SOFTINT (y) 298 319 299 320 % ASID support 300 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM= ppc32|PLATFORM=sparc64] CONFIG_ASID (y)321 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y) 301 322 302 323 % ASID FIFO support 303 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM= ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)324 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y) 304 325 305 326 % OpenFirmware tree support … … 322 343 323 344 % Support for SMP 324 ! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)| PLATFORM=abs32le] CONFIG_SMP (y/n)345 ! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)|(PLATFORM=mips64&MACHINE=msim)|PLATFORM=abs32le] CONFIG_SMP (y/n) 325 346 326 347 % Debug build … … 379 400 @ "generic" Keyboard or serial line 380 401 @ "none" No input device 381 ! [PLATFORM=ia32|(PLATFORM=arm32&MACHINE=testarm)|PLATFORM=amd64|PLATFORM=mips32|PLATFORM= ppc32|PLATFORM=sparc64] CONFIG_HID_IN (choice)402 ! [PLATFORM=ia32|(PLATFORM=arm32&MACHINE=testarm)|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_HID_IN (choice) 382 403 383 404 % Input device class … … 395 416 @ "generic" Monitor or serial line 396 417 @ "none" No output device 397 ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ppc32|(PLATFORM=ia64&MACHINE=i460GX)|(PLATFORM=mips32&MACHINE=msim) ] CONFIG_HID_OUT (choice)418 ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ppc32|(PLATFORM=ia64&MACHINE=i460GX)|(PLATFORM=mips32&MACHINE=msim)|(PLATFORM=mips64&MACHINE=msim)] CONFIG_HID_OUT (choice) 398 419 399 420 % Output device class … … 421 442 422 443 % Support for msim/GXemul keyboard 423 ! [CONFIG_HID_IN=generic& PLATFORM=mips32] CONFIG_MIPS_KBD (y/n)444 ! [CONFIG_HID_IN=generic&(PLATFORM=mips32|PLATFORM=mips64)] CONFIG_MIPS_KBD (y/n) 424 445 425 446 % Support for msim/GXemul printer 426 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)& PLATFORM=mips32] CONFIG_MIPS_PRN (y/n)447 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=mips32|PLATFORM=mips64)] CONFIG_MIPS_PRN (y/n) 427 448 428 449 % Support for GXemul keyboard -
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.