blob: 88b1a409f26054f238be925729552b70d30eea70 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk4e5ca3e2003-12-08 01:34:36 +00002#
3# (C) Copyright 2000-2002
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenk4e5ca3e2003-12-08 01:34:36 +00005
Masahiro Yamada9b6e2c32014-02-28 14:33:30 +09006ifeq ($(CROSS_COMPILE),)
7CROSS_COMPILE := m68k-elf-
8endif
Mike Frysinger1ea6bcd2009-06-14 23:33:14 -04009
Jason Jin3f8ce932011-08-22 16:26:50 +080010CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
Mike Frysinger262ae0a2009-09-03 23:12:47 -040011
Masahiro Yamada90f984e2014-07-30 14:08:23 +090012PLATFORM_CPPFLAGS += -D__M68K__
Tom Rini587e4a42020-03-27 11:46:27 -040013KBUILD_LDFLAGS += -n
Masahiro Yamadadfe96632014-02-26 14:51:04 +090014PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
15PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
Jason Jin6c0bf272011-08-22 17:24:45 +080016LDFLAGS_FINAL += --gc-sections