Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 4e5ca3e | 2003-12-08 01:34:36 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2002 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
wdenk | 4e5ca3e | 2003-12-08 01:34:36 +0000 | [diff] [blame] | 5 | |
Jason Jin | 3f8ce93 | 2011-08-22 16:26:50 +0800 | [diff] [blame] | 6 | CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000 |
Mike Frysinger | 262ae0a | 2009-09-03 23:12:47 -0400 | [diff] [blame] | 7 | |
Masahiro Yamada | 90f984e | 2014-07-30 14:08:23 +0900 | [diff] [blame] | 8 | PLATFORM_CPPFLAGS += -D__M68K__ |
Tom Rini | 587e4a4 | 2020-03-27 11:46:27 -0400 | [diff] [blame] | 9 | KBUILD_LDFLAGS += -n |
Masahiro Yamada | dfe9663 | 2014-02-26 14:51:04 +0900 | [diff] [blame] | 10 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |
| 11 | PLATFORM_RELFLAGS += -ffixed-d7 -msep-data |
Jason Jin | 6c0bf27 | 2011-08-22 17:24:45 +0800 | [diff] [blame] | 12 | LDFLAGS_FINAL += --gc-sections |