wdenk | abf7a7c | 2003-12-08 01:34:36 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000-2002 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | abf7a7c | 2003-12-08 01:34:36 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Mike Frysinger | 8378ba4 | 2009-06-14 23:33:14 -0400 | [diff] [blame] | 8 | CROSS_COMPILE ?= m68k-elf- |
| 9 | |
Jason Jin | a25be13 | 2011-08-22 16:26:50 +0800 | [diff] [blame] | 10 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000 |
Mike Frysinger | 5b66044 | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 11 | |
wdenk | abf7a7c | 2003-12-08 01:34:36 +0000 | [diff] [blame] | 12 | PLATFORM_CPPFLAGS += -DCONFIG_M68K -D__M68K__ |
| 13 | PLATFORM_LDFLAGS += -n |
Jason Jin | 80c1619 | 2011-08-22 17:24:45 +0800 | [diff] [blame] | 14 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |
| 15 | LDFLAGS_FINAL += --gc-sections |