Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2002 |
Detlev Zundel | 792a09e | 2009-05-13 10:54:10 +0200 | [diff] [blame] | 3 | # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Wolfgang Denk | 74f4304 | 2005-09-25 01:48:28 +0200 | [diff] [blame] | 8 | PLATFORM_CPPFLAGS += -march=armv4 |
Sergei Poselenov | 1bb8b2e | 2008-08-14 14:08:28 +0200 | [diff] [blame] | 9 | # ========================================================================= |
| 10 | # |
| 11 | # Supply options according to compiler version |
| 12 | # |
| 13 | # ========================================================================= |
Wolfgang Denk | cca4e4a | 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) |