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