blob: a629b68d6190a1227afc57d85d15b5102710b4a0 [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
angelo@sysam.ite310b932015-02-12 01:40:17 +010014# Support generic board on m68k
15__HAVE_ARCH_GENERIC_BOARD := y
16
Masahiro Yamada90f984e2014-07-30 14:08:23 +090017PLATFORM_CPPFLAGS += -D__M68K__
wdenk4e5ca3e2003-12-08 01:34:36 +000018PLATFORM_LDFLAGS += -n
Masahiro Yamadadfe96632014-02-26 14:51:04 +090019PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
20PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
Jason Jin6c0bf272011-08-22 17:24:45 +080021LDFLAGS_FINAL += --gc-sections