Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2002 |
Detlev Zundel | f1b3f2b | 2009-05-13 10:54:10 +0200 | [diff] [blame] | 3 | # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Wolfgang Denk | adf20a1 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 8 | PLATFORM_CPPFLAGS += -march=armv4 |
Sergei Poselenov | 2c0b326 | 2008-08-14 14:08:28 +0200 | [diff] [blame] | 9 | # ========================================================================= |
| 10 | # |
| 11 | # Supply options according to compiler version |
| 12 | # |
| 13 | # ========================================================================= |
Wolfgang Denk | 9209ed5 | 2011-11-01 20:54:02 +0000 | [diff] [blame] | 14 | PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) |
| 15 | PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT) |