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