[arm] Add support for 32-bit ARM

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-05-06 12:08:44 +01:00
parent 49a5bcfba6
commit 1a16f67a28
43 changed files with 1879 additions and 49 deletions
+25
View File
@@ -0,0 +1,25 @@
# Assembler section type character
#
ASM_TCHAR := %
ASM_TCHAR_OPS := %%
# ARM-specific directories containing source files
#
SRCDIRS += arch/arm/core
SRCDIRS += arch/arm/libgcc
SRCDIRS += arch/arm/interface/efi
# ARM-specific flags
#
CFLAGS += -mthumb -mcpu=cortex-a15 -mabi=aapcs -mfloat-abi=soft
CFLAGS += -mword-relocations
ASFLAGS += -mthumb -mcpu=cortex-a15
# EFI requires -fshort-wchar, and nothing else currently uses wchar_t
#
CFLAGS += -fshort-wchar
# Include platform-specific Makefile
#
MAKEDEPS += arch/arm/Makefile.$(PLATFORM)
include arch/arm/Makefile.$(PLATFORM)