Ignore:
File:
1 edited

Legend:

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

    rb8bb2bc r73b3ecd  
    3333ATSIGN = %
    3434
    35 GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR_ARCH)) -mno-unaligned-access
     35GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR_ARCH)) -mno-unaligned-access -mfpu=vfpv3
    3636
    3737ifeq ($(CONFIG_FPU),y)
    38 # This is necessary to allow vmsr insn and fpexc manipulation
    39 # Use vfp32 to allow context save/restore of d16-d31 regs.
    40 AFLAGS += -mfloat-abi=hard -mfpu=vfp3
     38        # This is necessary to allow vmsr insn and fpexc manipulation
     39        # Use vfp32 to allow context save/restore of d16-d31 regs.
     40        AFLAGS += -mfloat-abi=hard -mfpu=vfp3
    4141endif
    4242
     
    5454        arch/$(KARCH)/src/dummy.S \
    5555        arch/$(KARCH)/src/cpu/cpu.c \
    56         arch/$(KARCH)/src/ddi/ddi.c \
    5756        arch/$(KARCH)/src/interrupt.c \
    5857        arch/$(KARCH)/src/exception.c \
     
    6665        arch/$(KARCH)/src/mm/tlb.c \
    6766        arch/$(KARCH)/src/mm/page_fault.c \
     67        arch/$(KARCH)/src/atomic.c \
    6868        arch/$(KARCH)/src/ras.c
    6969
    7070ifeq ($(CONFIG_FPU),y)
    7171        ARCH_SOURCES += arch/$(KARCH)/src/fpu_context.c
    72         ARCH_SOURCES += arch/$(KARCH)/src/fpu.s
     72        ARCH_SOURCES += arch/$(KARCH)/src/fpu.S
    7373endif
    7474
     
    8585endif
    8686
     87ifeq ($(MACHINE),beaglebone)
     88        ARCH_SOURCES += arch/$(KARCH)/src/mach/beaglebone/beaglebone.c
     89endif
     90
     91ifeq ($(MACHINE),raspberrypi)
     92        ARCH_SOURCES += arch/$(KARCH)/src/mach/raspberrypi/raspberrypi.c
     93endif
     94
    8795ifeq ($(CONFIG_PL050),y)
    8896        ARCH_SOURCES += genarch/src/drivers/pl050/pl050.c
    8997endif
     98
     99ARCH_AUTOGENS_AG = \
     100        arch/$(KARCH)/include/arch/istate_struct.ag \
     101        arch/$(KARCH)/include/arch/context_struct.ag
     102
Note: See TracChangeset for help on using the changeset viewer.