ARM: verdex: Make sure __XSCALE__ is defined when compiling.

This is especially important for the assembler code in the kernel,
since it enables workarounds for some critical errata related to
exception handling.
This commit is contained in:
Ithamar R. Adema
2013-09-18 06:34:40 +02:00
parent 501b24c63b
commit 7416b5878f
+5 -4
View File
@@ -68,10 +68,11 @@ HAIKU_BOARD_SDIMAGE_FILES =
# gcc flags for the specific cpu
#
HAIKU_KERNEL_CCFLAGS += -mcpu=xscale ;
HAIKU_KERNEL_C++FLAGS += -mcpu=xscale ;
HAIKU_CCFLAGS += -mcpu=xscale ;
HAIKU_C++FLAGS += -mcpu=xscale ;
HAIKU_KERNEL_CCFLAGS += -mcpu=xscale -D__XSCALE__ ;
HAIKU_KERNEL_C++FLAGS += -mcpu=xscale -D__XSCALE__ ;
HAIKU_CCFLAGS += -mcpu=xscale -D__XSCALE__ ;
HAIKU_C++FLAGS += -mcpu=xscale -D__XSCALE__ ;
TARGET_ASFLAGS += -mcpu=xscale -D__XSCALE__ ;
# Workaround for ld using 32k for alignment despite forcing it in the config...
# should definitely not be needed!