Merge branch 'master' of git://git.denx.de/u-boot-video
[karo-tx-uboot.git] / arch / m68k / config.mk
1 #
2 # (C) Copyright 2000-2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 ifeq ($(CROSS_COMPILE),)
9 CROSS_COMPILE := m68k-elf-
10 endif
11
12 CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
13
14 PLATFORM_CPPFLAGS += -DCONFIG_M68K -D__M68K__
15 PLATFORM_LDFLAGS  += -n
16 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
17 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
18 LDFLAGS_FINAL                  += --gc-sections