]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/x86/config.mk
x86: Remove unwanted MMC debugging
[people/ms/u-boot.git] / arch / x86 / config.mk
CommitLineData
2262cfee
WD
1#
2# (C) Copyright 2000-2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
2262cfee
WD
6#
7
8ae86b76 8CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
262ae0a6 9
5c161653 10PLATFORM_CPPFLAGS += -fno-strict-aliasing
5c161653
GR
11PLATFORM_CPPFLAGS += -mregparm=3
12PLATFORM_CPPFLAGS += -fomit-frame-pointer
f694183b 13PF_CPPFLAGS_X86 := $(call cc-option, -fno-toplevel-reorder, \
cca4e4ae 14 $(call cc-option, -fno-unit-at-a-time)) \
cca4e4ae
WD
15 $(call cc-option, -mpreferred-stack-boundary=2)
16PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_X86)
a85f53cd 17PLATFORM_CPPFLAGS += -fno-dwarf2-cfi-asm
dbb7234b 18PLATFORM_CPPFLAGS += -march=i386 -m32
a85f53cd
GR
19
20PLATFORM_RELFLAGS += -ffunction-sections -fvisibility=hidden
21
dbb7234b 22PLATFORM_LDFLAGS += --emit-relocs -Bsymbolic -Bsymbolic-functions -m elf_i386
a85f53cd 23
6dc1eceb 24LDFLAGS_FINAL += --gc-sections -pie
36b2409a
GB
25LDFLAGS_FINAL += --wrap=__divdi3 --wrap=__udivdi3
26LDFLAGS_FINAL += --wrap=__moddi3 --wrap=__umoddi3