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