arm.mk 416 Bytes
Newer Older
Stefano Stabellini's avatar
Stefano Stabellini committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
CONFIG_ARM := y
CONFIG_ARM_32 := y
CONFIG_ARM_$(XEN_OS) := y

# -march= -mcpu=

# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
CFLAGS += -marm

HAS_PL011 := y

# Use only if calling $(LD) directly.
#LDFLAGS_DIRECT_OpenBSD = _obsd
#LDFLAGS_DIRECT_FreeBSD = _fbsd
LDFLAGS_DIRECT_Linux = _linux
LDFLAGS_DIRECT += -marmelf$(LDFLAGS_DIRECT_$(XEN_OS))_eabi

CONFIG_LOAD_ADDRESS ?= 0x80000000