Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/Makefile.inc

    rb696cbf r55896b6  
    2929BFD_ARCH = mips
    3030BFD = binary
    31 GCC_CFLAGS += -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mabi=32
     31GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
    3232
    3333BITS = 32
     
    3636#
    3737
     38ifeq ($(MACHINE),lgxemul)
     39        BFD_NAME = elf32-tradlittlemips
     40        ENDIANESS = LE
     41endif
     42ifeq ($(MACHINE),bgxemul)
     43        BFD_NAME = elf32-tradbigmips
     44        ENDIANESS = BE
     45        GCC_CFLAGS += -D__BE__
     46endif
    3847ifeq ($(MACHINE),msim)
    3948        BFD_NAME = elf32-tradlittlemips
    4049        ENDIANESS = LE
    41         GCC_CFLAGS += -march=r4000
    42 endif
    43 ifeq ($(MACHINE),bmalta)
    44         BFD_NAME = elf32-tradbigmips
    45         ENDIANESS = BE
    46         GCC_CFLAGS += -D__BE__ -march=4kc
    47 endif
    48 ifeq ($(MACHINE),lmalta)
    49         BFD_NAME = elf32-tradlittlemips
    50         ENDIANESS = LE
    51         GCC_CFLAGS += -march=4kc
     50        GCC_CFLAGS += -mhard-float
    5251endif
    5352
     
    7170        arch/$(KARCH)/src/fpu_context.c \
    7271        arch/$(KARCH)/src/ddi/ddi.c \
    73         arch/$(KARCH)/src/smp/smp.c \
    74         arch/$(KARCH)/src/machine_func.c
    75 
    76 ifeq ($(MACHINE),msim)
    77         ARCH_SOURCES += \
    78                 arch/$(KARCH)/src/smp/dorder.c
    79 endif
    80 
    81 ifeq ($(MACHINE),$(filter lmalta bmalta,$(MACHINE)))
    82         ARCH_SOURCES += arch/$(KARCH)/src/mach/malta/malta.c
    83 endif
    84 ifeq ($(MACHINE),msim)
    85         ARCH_SOURCES += arch/$(KARCH)/src/mach/msim/msim.c
    86 endif
    87 
     72        arch/$(KARCH)/src/smp/dorder.c \
     73        arch/$(KARCH)/src/smp/smp.c
Note: See TracChangeset for help on using the changeset viewer.