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 | |
Marek Vasut | 26af162 | 2023-08-27 00:25:36 +0200 | [diff] [blame] | 6 | PLATFORM_CPPFLAGS += -D__M68K__ -fPIC |
| 7 | KBUILD_LDFLAGS += -n -pie |
Masahiro Yamada | dfe9663 | 2014-02-26 14:51:04 +0900 | [diff] [blame] | 8 | PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections |
| 9 | PLATFORM_RELFLAGS += -ffixed-d7 -msep-data |
Marek Vasut | 26af162 | 2023-08-27 00:25:36 +0200 | [diff] [blame] | 10 | LDFLAGS_FINAL += --gc-sections -pie |