blob: 3ccbe49220213abc639c62a0d9db149d79c0c3c3 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
wdenk4e5ca3e2003-12-08 01:34:36 +00002#
3# (C) Copyright 2000-2002
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
wdenk4e5ca3e2003-12-08 01:34:36 +00005
Masahiro Yamada90f984e2014-07-30 14:08:23 +09006PLATFORM_CPPFLAGS += -D__M68K__
Tom Rini587e4a42020-03-27 11:46:27 -04007KBUILD_LDFLAGS += -n
Masahiro Yamadadfe96632014-02-26 14:51:04 +09008PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
9PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
Jason Jin6c0bf272011-08-22 17:24:45 +080010LDFLAGS_FINAL += --gc-sections