17 lines
424 B
Makefile
17 lines
424 B
Makefile
|
# SPDX-License-Identifier: GPL-2.0+
|
||
|
#
|
||
|
# (C) Copyright 2000-2002
|
||
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||
|
|
||
|
ifeq ($(CROSS_COMPILE),)
|
||
|
CROSS_COMPILE := m68k-elf-
|
||
|
endif
|
||
|
|
||
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
|
||
|
|
||
|
PLATFORM_CPPFLAGS += -D__M68K__
|
||
|
PLATFORM_LDFLAGS += -n
|
||
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
||
|
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
|
||
|
LDFLAGS_FINAL += --gc-sections
|