[haiku-commits] haiku: hrev46093 - build/jam/board/verdex

  • From: ithamar@xxxxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 18 Sep 2013 06:38:59 +0200 (CEST)

hrev46093 adds 1 changeset to branch 'master'
old head: 501b24c63b267527538aa4a7591348b3832bb84d
new head: 7416b5878f62ef0c1871e53607ccfebdc82f86b8
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=7416b58+%5E501b24c

----------------------------------------------------------------------------

7416b58: 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.

                          [ Ithamar R. Adema <ithamar@xxxxxxxxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev46093
Commit:      7416b5878f62ef0c1871e53607ccfebdc82f86b8
URL:         http://cgit.haiku-os.org/haiku/commit/?id=7416b58
Author:      Ithamar R. Adema <ithamar@xxxxxxxxxxxxxxxxxxx>
Date:        Wed Sep 18 04:33:57 2013 UTC

----------------------------------------------------------------------------

1 file changed, 5 insertions(+), 4 deletions(-)
build/jam/board/verdex/BoardSetup | 9 +++++----

----------------------------------------------------------------------------

diff --git a/build/jam/board/verdex/BoardSetup 
b/build/jam/board/verdex/BoardSetup
index 4d56bee..fb3e69f 100644
--- a/build/jam/board/verdex/BoardSetup
+++ b/build/jam/board/verdex/BoardSetup
@@ -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!


Other related posts:

  • » [haiku-commits] haiku: hrev46093 - build/jam/board/verdex - ithamar