mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 06:43:28 +09:00
![Wolfgang Denk](/assets/img/avatar_default.png)
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
19 lines
630 B
Makefile
19 lines
630 B
Makefile
#
|
|
# (C) Copyright 2002
|
|
# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
|
|
|
|
# Make ARMv5 to allow more compilers to work, even though its v6.
|
|
PLATFORM_CPPFLAGS += -march=armv5t
|
|
# =========================================================================
|
|
#
|
|
# Supply options according to compiler version
|
|
#
|
|
# =========================================================================
|
|
PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,\
|
|
$(call cc-option,-malignment-traps,))
|
|
PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
|