diff options
Diffstat (limited to 'qemu/roms/u-boot/arch/m68k/config.mk')
-rw-r--r-- | qemu/roms/u-boot/arch/m68k/config.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/m68k/config.mk b/qemu/roms/u-boot/arch/m68k/config.mk new file mode 100644 index 000000000..33b3d51af --- /dev/null +++ b/qemu/roms/u-boot/arch/m68k/config.mk @@ -0,0 +1,18 @@ +# +# (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 += -DCONFIG_M68K -D__M68K__ +PLATFORM_LDFLAGS += -n +PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections +PLATFORM_RELFLAGS += -ffixed-d7 -msep-data +LDFLAGS_FINAL += --gc-sections |