summaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf547x_8x/config.mk
blob: 345f5841ac1d1a628e0ab8862dcda3a33a2cdc7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
#
# (C) Copyright 2000-2004
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#

PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC

ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
ifneq (,$(findstring GOT,$(shell $(LD) --help)))
PLATFORM_LDFLAGS += --got=single
endif
endif