Comtrol eCos User Manual

Page 333

Advertising
background image

Chapter 11. Porting Guide

cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {

display "Global command prefix"

flavor

data

no_define

default_value { "mips-tx39-elf" }

description "

This option specifies the command prefix used when

invoking the build tools."

}

cdl_option CYGBLD_GLOBAL_CFLAGS {

display "Global compiler flags"

flavor

data

no_define

default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-

virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -

finit-priority" }

description

"

This option controls the global compiler flags which

are used to compile all packages by

default. Individual packages may define

options which override these global flags."

}

cdl_option CYGBLD_GLOBAL_LDFLAGS {

display "Global linker flags"

flavor

data

no_define

default_value { "-g -nostdlib -Wl,--gc-sections -Wl,-static" }

description

"

This option controls the global linker flags. Individual

packages may define options which override these global flags."

}

}

cdl_component CYGHWR_MEMORY_LAYOUT {

display "Memory layout"

flavor data

no_define

calculated { CYG_HAL_STARTUP == "RAM" ? "mips_tx39_jmr3904_ram" : \

"mips_tx39_jmr3904_rom" }

cdl_option CYGHWR_MEMORY_LAYOUT_LDI {

display "Memory layout linker script fragment"

flavor data

no_define

define -file system.h CYGHWR_MEMORY_LAYOUT_LDI

calculated { CYG_HAL_STARTUP == "RAM" ? "

<

pkgconf/mlt_mips_tx39_jmr3904_ram.ldi

>

" : \

"

<

pkgconf/mlt_mips_tx39_jmr3904_rom.ldi

>

" }

}

cdl_option CYGHWR_MEMORY_LAYOUT_H {

display "Memory layout header file"

flavor data

no_define

229

Advertising