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

CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000

PLATFORM_CPPFLAGS += -D__M68K__
KBUILD_LDFLAGS  += -n
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
LDFLAGS_FINAL                  += --gc-sections