]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/m68k/config.mk
include/bitfield.h: Assure new bitfield value doesn't touch unwanted bits
[karo-tx-uboot.git] / arch / m68k / config.mk
1 #
2 # (C) Copyright 2000-2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 ifeq ($(CROSS_COMPILE),)
9 CROSS_COMPILE := m68k-elf-
10 endif
11
12 CONFIG_STANDALONE_LOAD_ADDR ?= 0x20000
13
14 # Support generic board on m68k
15 __HAVE_ARCH_GENERIC_BOARD := y
16
17 PLATFORM_CPPFLAGS += -D__M68K__
18 PLATFORM_LDFLAGS  += -n
19 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
20 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
21 LDFLAGS_FINAL                  += --gc-sections