mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 07:58:52 +09:00
![angelo@sysam.it](/assets/img/avatar_default.png)
Add generic-board support for the m68k architecture. Signed-off-by: Angelo Dureghello <angelo@sysam.it>
22 lines
492 B
Makefile
22 lines
492 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
|
|
|
|
# Support generic board on m68k
|
|
__HAVE_ARCH_GENERIC_BOARD := y
|
|
|
|
PLATFORM_CPPFLAGS += -D__M68K__
|
|
PLATFORM_LDFLAGS += -n
|
|
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
|
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
|
|
LDFLAGS_FINAL += --gc-sections
|