]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm1136/config.mk
NET: fec_mxc: fix MDIO clock prescaler calculation
[karo-tx-uboot.git] / arch / arm / cpu / arm1136 / 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 # Make ARMv5 to allow more compilers to work, even though its v6.
9 PLATFORM_CPPFLAGS += -march=armv5
10 # =========================================================================
11 #
12 # Supply options according to compiler version
13 #
14 # =========================================================================
15 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
16 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
17
18 ifneq ($(CONFIG_IMX_CONFIG),)
19 ifdef CONFIG_SPL
20 ifdef CONFIG_SPL_BUILD
21 ALL-y   += $(OBJTREE)/SPL
22 endif
23 else
24 ALL-y   += $(obj)u-boot.imx
25 endif
26 endif