# -*- makefile -*- | |
# | |
# arch/arm/MCONFIG | |
# | |
# Special rules for this architecture. Note that this is actually | |
# included from the main Makefile, and that pathnames should be | |
# accordingly. | |
# | |
THUMB = n | |
CPU_ARCH := armv4 | |
CPU_TUNE := strongarm | |
OPTFLAGS = -Os -fomit-frame-pointer -march=$(CPU_ARCH) -mtune=$(CPU_TUNE) | |
BITSIZE = 32 | |
ifeq ($(THUMB),y) | |
CPU_ARCH := $(CPU_ARCH)t | |
OPTFLAGS += -mthumb | |
LDFLAGS += --thumb-entry _start | |
endif |