sbsv2/raptor/lib/flm/e32abiv2defaults.mk
changeset 630 31ef8a13d4f4
parent 625 a1925fb7753a
equal deleted inserted replaced
629:541af5ee3ed9 630:31ef8a13d4f4
    36 NOHIDEALL:=
    36 NOHIDEALL:=
    37 DEFAULT_NEWLIB:=$(DEFAULT_SYMBIAN_NEWLIB)
    37 DEFAULT_NEWLIB:=$(DEFAULT_SYMBIAN_NEWLIB)
    38 
    38 
    39 
    39 
    40 # Reset these variables as they change for every single target type
    40 # Reset these variables as they change for every single target type
    41 # LINKER_ENTRYPOINT_ADORNMENT will be blank for GCCE; for RVCT it will look like "(uc_exe_.o)"
    41 # LINKER_ENTRYPOINT_ADORNMENT will be blank for GCC; for RVCT it will look like "(uc_exe_.o)"
    42 # LINKER_ENTRYPOINT_DECORATION will be blank for RVCT; for GCCE it will look like "-u _E32Startup"
    42 # LINKER_ENTRYPOINT_DECORATION will be blank for RVCT; for GCC it will look like "-u _E32Startup"
    43 # LINKER_SEPARATOR is a comma for GCCE as g++ is used for linking; for RVCT is should be a space, but
    43 # LINKER_SEPARATOR is a comma for GCC as g++ is used for linking; for RVCT is should be a space, but
    44 # as make strips trailing spaces, we use the CHAR_SPACE variable.
    44 # as make strips trailing spaces, we use the CHAR_SPACE variable.
    45 
    45 
    46 LINKER_ENTRYPOINT_ADORNMENT:=
    46 LINKER_ENTRYPOINT_ADORNMENT:=
    47 LINKER_ENTRYPOINT_DECORATION:=
    47 LINKER_ENTRYPOINT_DECORATION:=
    48 LINKER_SEPARATOR:=
    48 LINKER_SEPARATOR:=
    49 
    49 
    50 # For GCCE
    50 # For GCC
    51 ifeq ($(TOOLCHAIN),GCCE)
    51 ifneq ($(findstring GCC,$(TOOLCHAIN)),)
    52 LINKER_ENTRYPOINT_DECORATION:=$(if $(call isoneof,$(TARGETTYPE),exexp exe),-Wl$(CHAR_COMMA)-u$(CHAR_COMMA)$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT),-Wl$(CHAR_COMMA)-u$(CHAR_COMMA)$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT))
    52 LINKER_ENTRYPOINT_DECORATION:=$(if $(call isoneof,$(TARGETTYPE),exexp exe),-Wl$(CHAR_COMMA)-u$(CHAR_COMMA)$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT),-Wl$(CHAR_COMMA)-u$(CHAR_COMMA)$(LINKER_ENTRYPOINT_PREFIX)$(ENTRYPOINT))
    53 LINKER_SEPARATOR:=$(CHAR_COMMA)
    53 LINKER_SEPARATOR:=$(CHAR_COMMA)
    54 endif
    54 endif
    55 
    55 
    56 # For RVCT
    56 # For RVCT
    94   OPTION_COMPILER:=$(OPTION_ARMCC)
    94   OPTION_COMPILER:=$(OPTION_ARMCC)
    95   OPTION_REPLACE_COMPILER:=$(OPTION_REPLACE_ARMCC)
    95   OPTION_REPLACE_COMPILER:=$(OPTION_REPLACE_ARMCC)
    96 endif
    96 endif
    97 
    97 
    98 # "ARMFPU" overrides for 'fpu-ness' in compiler and postlinker calls in .mmp files are currently only
    98 # "ARMFPU" overrides for 'fpu-ness' in compiler and postlinker calls in .mmp files are currently only
    99 # supported for RVCT-based builds, GCCE builds always make use of the interface defined defaults.
    99 # supported for RVCT-based builds, other builds always make use of the interface defined defaults.
   100 ifeq ($(TOOLCHAIN),GCCE)
   100 ifneq ($(TOOLCHAIN),RVCT)
   101   ARMFPU:=
   101   ARMFPU:=
   102 endif
   102 endif