Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork

This commit is contained in:
matt 2013-08-15 21:41:08 +00:00
parent f376e753f4
commit 50192497ae
6 changed files with 14 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.15 2013/05/02 04:22:44 matt Exp $
# $NetBSD: Makefile.buildboot,v 1.16 2013/08/15 21:41:08 matt Exp $
S?= ${.CURDIR}/../../../..
@ -34,8 +34,9 @@ CPPFLAGS+= -D_STANDALONE -DHIMEM=0x28000
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft -march=armv2
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
CFLAGS= -O2
CFLAGS+= -ffreestanding
CFLAGS+= -ffreestanding -fno-unwind-tables
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
.if !make(obj) && !make(clean) && !make(cleandir)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.buildboot,v 1.16 2013/05/02 04:22:44 matt Exp $
# $NetBSD: Makefile.buildboot,v 1.17 2013/08/15 21:41:08 matt Exp $
S?= ${.CURDIR}/../../../..
@ -44,9 +44,10 @@ CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft -march=armv3m
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
CPUFLAGS=
CFLAGS= -O2
CFLAGS+= -ffreestanding
CFLAGS+= -ffreestanding -fno-unwind-tables
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
CLEANFILES+= machine ${MACHINE_ARCH}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2013/06/23 13:56:40 matt Exp $
# $NetBSD: Makefile,v 1.10 2013/08/15 21:41:08 matt Exp $
S= ${.CURDIR}/../../../..
@ -15,6 +15,7 @@ CPPFLAGS+= -DDM9000MAC="0x08,0x08,0x11,0x18,0x12,0x27"
CPPFLAGS+= -DDEFAULT_BOOTFILE="ld0a:netbsd;net:"
CPPFLAGS+= -nostdinc -I. -I${.OBJDIR} -I${S} -I${S}/arch
CPPFLAGS+= -march=armv4 -mabi=apcs-gnu -mfloat-abi=soft
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
CPUFLAGS=
DBG=

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.6 2013/06/23 13:57:27 matt Exp $
# $Id: Makefile,v 1.7 2013/08/15 21:41:09 matt Exp $
S= ${.CURDIR}/../../../../
PROG= bootimx23
@ -14,6 +14,7 @@ CPPFLAGS+= -D_STANDALONE -DMEMSIZE=64
CPPFLAGS+= -DKERNEL_BOOT_ARGS=\"root=ld0a\"
CPPFLAGS+= -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
#CPPFLAGS+= -DDEBUG
#DBG= -g

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.gzboot,v 1.23 2013/06/23 13:56:01 matt Exp $
# $NetBSD: Makefile.gzboot,v 1.24 2013/08/15 21:41:09 matt Exp $
NOMAN= # defined
@ -36,6 +36,7 @@ CPPFLAGS+= -nostdinc -I. -I${EVBARM_STAND}/gzboot -I${EVBARM_STAND}/board
CPPFLAGS+= -I${S} -I${S}/arch -I${S}/lib/libsa
CPPFLAGS+= -I${S}/../common/dist/zlib
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
CPPFLAGS+= -D_STANDALONE

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2013/08/12 22:50:51 matt Exp $
# $NetBSD: Makefile,v 1.12 2013/08/15 21:41:09 matt Exp $
PROG= zboot
@ -22,6 +22,7 @@ CPPFLAGS+= -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S}
CPPFLAGS+= -D_STANDALONE -DHEAP_VARIABLE
CPPFLAGS+= -DLIBSA_ENABLE_LS_OP
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft -mcpu=xscale
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
CPUFLAGS=
AFLAGS+= -D_LOCORE
LDFLAGS+= -nostdlib -Bstatic