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

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