summaryrefslogtreecommitdiff
path: root/arch/m68k/config.mk
blob: 9c3e24f2fcfdbee2d7ed84897084074747b54125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# (C) Copyright 2000-2002
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#

CROSS_COMPILE ?= m68k-elf-

CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000

PLATFORM_CPPFLAGS += -DCONFIG_M68K -D__M68K__
PLATFORM_LDFLAGS  += -n
PLATFORM_RELFLAGS              += -ffunction-sections -fdata-sections
LDFLAGS_FINAL                  += --gc-sections