blob: 643b7d1d35d5bbffdf409fb78338c770cdf66bf6 [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
Marek Vasut26af1622023-08-27 00:25:36 +02006PLATFORM_CPPFLAGS += -D__M68K__ -fPIC
7KBUILD_LDFLAGS += -n -pie
Masahiro Yamadadfe96632014-02-26 14:51:04 +09008PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
9PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
Marek Vasut26af1622023-08-27 00:25:36 +020010LDFLAGS_FINAL += --gc-sections -pie