]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/cpu/arm946es/config.mk
ARM: refactor compiler options in config.mk
[people/ms/u-boot.git] / arch / arm / cpu / arm946es / config.mk
1 #
2 # (C) Copyright 2002
3 # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
4 #
5 # SPDX-License-Identifier: GPL-2.0+
6 #
7
8 PLATFORM_CPPFLAGS += -march=armv4
9 # =========================================================================
10 #
11 # Supply options according to compiler version
12 #
13 # =========================================================================
14 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
15 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)