mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 01:38:22 +00:00
90f984e397
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Simon Glass <sjg@chromium.org>
18 lines
428 B
Makefile
18 lines
428 B
Makefile
#
|
|
# (C) Copyright 2000-2002
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
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
|