Ignore:
File:
1 edited

Legend:

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

    rac47b7c2 r62baed17  
    2727#
    2828
    29 ## Toolchain configuration
    30 #
    31 
    3229BFD_NAME = elf32-i386
    3330BFD_ARCH = i386
    3431BFD = binary
    35 TARGET = i686-pc-linux-gnu
    36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/i686
     32CLANG_ARCH = i386
    3733
    3834BITS = 32
     
    4339ICC_CFLAGS += $(CMN1)
    4440SUNCC_CFLAGS += $(CMN1)
     41CLANG_CFLAGS += $(CMN1)
    4542
    4643## Accepted CPUs
     
    5148        SUNCC_CFLAGS += -xarch=ssea
    5249endif
     50
    5351ifeq ($(PROCESSOR),athlon_mp)
    5452        CMN2 = -march=athlon-mp
    5553        SUNCC_CFLAGS += xarch=ssea
    5654endif
     55
    5756ifeq ($(PROCESSOR),pentium3)
    5857        CMN2 = -march=pentium3
    5958        SUNCC_CFLAGS += -xarch=sse
    6059endif
     60
    6161ifeq ($(PROCESSOR),pentium4)
    6262        CMN2 = -march=pentium4
    6363        SUNCC_CFLAGS += -xarch=sse2
    6464endif
     65
    6566ifeq ($(PROCESSOR),core)
    6667        CMN2 = -march=prescott
     
    7172GCC_CFLAGS += $(CMN2)
    7273ICC_CFLAGS += $(CMN2)
     74CLANG_CFLAGS += $(CMN2)
    7375
    7476ARCH_SOURCES = \
    7577        arch/$(KARCH)/src/context.S \
    76         arch/$(KARCH)/src/debug/panic.s \
     78        arch/$(KARCH)/src/debug/stacktrace.c \
     79        arch/$(KARCH)/src/debug/stacktrace_asm.S \
    7780        arch/$(KARCH)/src/delay.s \
    7881        arch/$(KARCH)/src/asm.S \
Note: See TracChangeset for help on using the changeset viewer.