]> Git Repo - u-boot.git/blob - arch/arc/config.mk
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
[u-boot.git] / arch / arc / config.mk
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
4
5 ifdef CONFIG_SYS_LITTLE_ENDIAN
6 KBUILD_LDFLAGS += -EL
7 PLATFORM_CPPFLAGS += -mlittle-endian
8 endif
9
10 ifdef CONFIG_SYS_BIG_ENDIAN
11 KBUILD_LDFLAGS += -EB
12 PLATFORM_CPPFLAGS += -mbig-endian
13 endif
14
15 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata
16 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections -fno-common
17
18 # Needed for relocation
19 LDFLAGS_FINAL += -pie --gc-sections
This page took 0.035898 seconds and 4 git commands to generate.