2003-12-08 01:34:36 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2002
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2003-12-08 01:34:36 +00:00
|
|
|
#
|
|
|
|
|
2014-02-28 05:33:30 +00:00
|
|
|
ifeq ($(CROSS_COMPILE),)
|
|
|
|
CROSS_COMPILE := m68k-elf-
|
|
|
|
endif
|
2009-06-15 03:33:14 +00:00
|
|
|
|
2011-08-22 08:26:50 +00:00
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
|
2009-09-04 03:12:47 +00:00
|
|
|
|
2014-07-30 05:08:23 +00:00
|
|
|
PLATFORM_CPPFLAGS += -D__M68K__
|
2003-12-08 01:34:36 +00:00
|
|
|
PLATFORM_LDFLAGS += -n
|
2014-02-26 05:51:04 +00:00
|
|
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
|
|
|
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
|
2011-08-22 09:24:45 +00:00
|
|
|
LDFLAGS_FINAL += --gc-sections
|