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