Mercurial > ecos
view packages/targets @ 66:bf00f99aec69 ecos-sw-2000-02-02
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
| author | jlarmour |
|---|---|
| date | Wed, 02 Feb 2000 19:57:02 +0000 |
| parents | c38311975d4f |
| children | c5536bad4c24 |
line wrap: on
line source
#=============================================================================== # # targets # # This file lists the supported target architectures. # #=============================================================================== #####COPYRIGHTBEGIN#### # # ------------------------------------------- # The contents of this file are subject to the Red Hat eCos Public License # Version 1.1 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.redhat.com/ # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations under # the License. # # The Original Code is eCos - Embedded Configurable Operating System, # released September 30, 1998. # # The Initial Developer of the Original Code is Red Hat. # Portions created by Red Hat are # Copyright (C) 1998, 1999, 2000 Red Hat, Inc. # All Rights Reserved. # ------------------------------------------- # #####COPYRIGHTEND#### #=============================================================================== ######DESCRIPTIONBEGIN#### # # Author(s): bartv # Contributors: bartv # Date: 1998-04-11 # # Purpose: To provide the interim build system with information # about the supported targets. # # Description: This file defines details of the supported target architectures. # Usage: # #####DESCRIPTIONEND#### #=============================================================================== # # # Format of this file: # # Each target architecture is defined by a statement of the form: # target <arch> <body> # # The name of the architecture and acts as the default alias string. # # The body can contain the following commands: # # 1) alias one or more aliases for this target. The first alias will # be used for output purposes. All aliases will be accepted # as input, and the input matching is not case-sensitive. # 2) command_prefix what goes before gcc/ld/whatever, e.g. powerpc-eabi # 3) flags compiler flags that should be used. # 4) packages the names of one or more packages that should be # loaded automatically for this target. # 5) platform definition of a specific platform for this architecture. # Each platform definition is similar to a target definition, # consisting of a name and a body. The name can be used in a # --platform argument to pkgconf. The body can contain the # following commands: # # 5a) alias an alias for this platform, used for output. # 5b) packages the names of one or more packages that should be loaded # automatically for this platform. # 5c) cflags replacement compiler flags needed on this platform # 5d) startup a list of the legal start-ups, typically either just ram # or both ram and rom. This corresponds to the --startup # argument to pkgconf. # target mn10300_am31 { alias { MN10300 mn10300-elf am30 am30-elf am31 am31-elf } command_prefix mn10300-elf packages { CYGPKG_HAL_MN10300 CYGPKG_HAL_MN10300_AM31 } cflags { ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } platform stdeval1 { alias { "Evaluation board" } startup { ram rom } packages { CYGPKG_HAL_MN10300_AM31_STDEVAL1 } } platform sim { alias { "Simulator" } startup { ram } packages { CYGPKG_HAL_MN10300_AM31_SIM } } } target mips_tx39 { alias { TX39 mips-tx39 mips-tx39-elf } command_prefix mips-tx39-elf packages { CYGPKG_HAL_MIPS CYGPKG_HAL_MIPS_TX39 } cflags { ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" LANGFLAGS "-ffunction-sections -fdata-sections" DBGFLAGS "-g -O2" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } platform jmr3904 { alias { "JMR-TX3904 evaluation board" jmr3904 } hal hal/mips/jmr3904 startup { ram rom } packages { CYGPKG_HAL_MIPS_TX39_JMR3904 } } platform sim { alias { "Simulator" } startup { ram } packages { CYGPKG_HAL_MIPS_SIM } } } target powerpc { alias { PowerPC powerpc-eabi } command_prefix powerpc-eabi packages { CYGPKG_HAL_POWERPC } cflags { ARCHFLAGS "-msoft-float -mcpu=860" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" LANGFLAGS "-ffunction-sections -fdata-sections" DBGFLAGS "-g -O2" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } hal hal/powerpc/arch platform cogent { alias { "Cogent board" } startup { ram rom stubs } packages { CYGPKG_HAL_POWERPC_COGENT } } platform fads { alias { "FADS board" } startup { ram rom } packages { CYGPKG_HAL_POWERPC_FADS } } platform mbx { alias { "MBX8xx board" } startup { ram rom } packages { CYGPKG_HAL_POWERPC_MBX CYGPKG_HAL_QUICC } } platform sim { alias { "Simulator" } startup { ram } packages { CYGPKG_HAL_POWERPC_SIM } } } target i386 { alias { i386 i486 i586 i86 ix86 } command_prefix i686-pc-linux-gnu packages { CYGPKG_HAL_I386 } cflags { ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-nostartfiles -nostdlib -Wl,--gc-sections" } platform linux { alias { "Linux" } startup { ram } packages { CYGPKG_HAL_I386_LINUX } } } target arm { alias { ARM arm-elf } command_prefix arm-elf packages { CYGPKG_HAL_ARM } hal hal/arm/arch platform pid { alias { "ARM PID7 development board" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_PID } cflags { ARCHFLAGS "-mcpu=arm7tdmi" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform pid9 { alias { "ARM PID9 development board" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_PID } base_platform pid cflags { ARCHFLAGS "-mcpu=arm9" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform pidBE { alias { "ARM PID7 development board in big-endian mode" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_PID } base_platform pid cflags { ARCHFLAGS "-mcpu=arm7tdmi -mbig-endian" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform aeb { alias { "ARM Eval Board (AEB)" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_AEB } cflags { ARCHFLAGS "-mcpu=arm7di" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform aebC { alias { "ARM Eval Board (AEB) rev C" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_AEB } base_platform aeb cflags { ARCHFLAGS "-mcpu=arm7di" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform cl7111 { alias { "Cirrus Logic Eval Board (CL7111)" } startup { ram rom stubs } base_platform edb7xxx packages { CYGPKG_HAL_ARM_EDB7XXX } cflags { ARCHFLAGS "-mcpu=arm710c -D__CL7111" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } # FIXME: ARCHFLAGS "-mcpu=arm720" platform edb7211 { alias { "Cirrus Logic Eval Board (EDB7211)" eb7211 } startup { ram rom stubs } base_platform edb7xxx packages { CYGPKG_HAL_ARM_EDB7XXX } cflags { ARCHFLAGS "-mcpu=arm7tdmi -D__EDB7211" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform cma230 { alias { "Cogent CMA230" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_CMA230 } cflags { ARCHFLAGS "-mcpu=arm7tdmi" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } platform cma222 { alias { "Cogent CMA222" } startup { ram rom stubs } packages { CYGPKG_HAL_ARM_CMA230 } base_platform cma230 cflags { ARCHFLAGS "-mcpu=arm7tdmi -D__CMA222" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections -mno-sched-prolog" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } } } target sparclite { alias { SPARClite sparclite-elf } command_prefix sparclite-elf packages { CYGPKG_HAL_SPARCLITE } hal hal/sparclite/arch cflags { ARCHFLAGS "-msoft-float -mcpu=sparclite" ERRFLAGS "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef" CXXERRFLAGS "-Woverloaded-virtual" DBGFLAGS "-g -O2" LANGFLAGS "-ffunction-sections -fdata-sections" CXXLANGFLAGS "-fno-rtti -fno-exceptions -fvtable-gc -finit-priority" LDLANGFLAGS "-Wl,--gc-sections -Wl,-static" } platform sim { alias { "Simulator" } startup { ram } packages { CYGPKG_HAL_SPARCLITE_SIM } } platform sleb { alias { "SPARClite Evaluation Board" } startup { ram rom } packages { CYGPKG_HAL_SPARCLITE_SLEB } } }
