blob: 3b3a7e88ab6077eb9de13dcbc4e0073b1787194b [file] [log] [blame]
wdenkabf7a7c2003-12-08 01:34:36 +00001#
2# (C) Copyright 2000-2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkabf7a7c2003-12-08 01:34:36 +00006#
7
Masahiro Yamadaf0ac9e02014-02-28 14:33:30 +09008ifeq ($(CROSS_COMPILE),)
9CROSS_COMPILE := m68k-elf-
10endif
Mike Frysinger8378ba42009-06-14 23:33:14 -040011
Jason Jina25be132011-08-22 16:26:50 +080012CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
Mike Frysinger5b660442009-09-03 23:12:47 -040013
Masahiro Yamada4869aee2014-07-30 14:08:23 +090014PLATFORM_CPPFLAGS += -D__M68K__
wdenkabf7a7c2003-12-08 01:34:36 +000015PLATFORM_LDFLAGS += -n
Masahiro Yamadaf375aef2014-02-26 14:51:04 +090016PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
17PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
Jason Jin80c16192011-08-22 17:24:45 +080018LDFLAGS_FINAL += --gc-sections