blob: 9c3e24f2fcfdbee2d7ed84897084074747b54125 [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
Mike Frysinger1ea6bcd2009-06-14 23:33:14 -04008CROSS_COMPILE ?= m68k-elf-
9
Jason Jin3f8ce932011-08-22 16:26:50 +080010CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
Mike Frysinger262ae0a2009-09-03 23:12:47 -040011
wdenk4e5ca3e2003-12-08 01:34:36 +000012PLATFORM_CPPFLAGS += -DCONFIG_M68K -D__M68K__
13PLATFORM_LDFLAGS += -n
Jason Jin6c0bf272011-08-22 17:24:45 +080014PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
15LDFLAGS_FINAL += --gc-sections