Module Name: src Committed By: matt Date: Thu Aug 15 21:41:09 UTC 2013
Modified Files: src/sys/arch/acorn26/stand: Makefile.buildboot src/sys/arch/acorn32/stand: Makefile.buildboot src/sys/arch/evbarm/stand/boot2440: Makefile src/sys/arch/evbarm/stand/bootimx23: Makefile src/sys/arch/evbarm/stand/gzboot: Makefile.gzboot src/sys/arch/zaurus/stand/zboot: Makefile Log Message: Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/acorn26/stand/Makefile.buildboot cvs rdiff -u -r1.16 -r1.17 src/sys/arch/acorn32/stand/Makefile.buildboot cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/stand/boot2440/Makefile cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/stand/bootimx23/Makefile cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot cvs rdiff -u -r1.11 -r1.12 src/sys/arch/zaurus/stand/zboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/acorn26/stand/Makefile.buildboot diff -u src/sys/arch/acorn26/stand/Makefile.buildboot:1.15 src/sys/arch/acorn26/stand/Makefile.buildboot:1.16 --- src/sys/arch/acorn26/stand/Makefile.buildboot:1.15 Thu May 2 04:22:44 2013 +++ src/sys/arch/acorn26/stand/Makefile.buildboot Thu Aug 15 21:41:08 2013 @@ -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) Index: src/sys/arch/acorn32/stand/Makefile.buildboot diff -u src/sys/arch/acorn32/stand/Makefile.buildboot:1.16 src/sys/arch/acorn32/stand/Makefile.buildboot:1.17 --- src/sys/arch/acorn32/stand/Makefile.buildboot:1.16 Thu May 2 04:22:44 2013 +++ src/sys/arch/acorn32/stand/Makefile.buildboot Thu Aug 15 21:41:08 2013 @@ -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} Index: src/sys/arch/evbarm/stand/boot2440/Makefile diff -u src/sys/arch/evbarm/stand/boot2440/Makefile:1.9 src/sys/arch/evbarm/stand/boot2440/Makefile:1.10 --- src/sys/arch/evbarm/stand/boot2440/Makefile:1.9 Sun Jun 23 13:56:40 2013 +++ src/sys/arch/evbarm/stand/boot2440/Makefile Thu Aug 15 21:41:08 2013 @@ -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,0 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= Index: src/sys/arch/evbarm/stand/bootimx23/Makefile diff -u src/sys/arch/evbarm/stand/bootimx23/Makefile:1.6 src/sys/arch/evbarm/stand/bootimx23/Makefile:1.7 --- src/sys/arch/evbarm/stand/bootimx23/Makefile:1.6 Sun Jun 23 13:57:27 2013 +++ src/sys/arch/evbarm/stand/bootimx23/Makefile Thu Aug 15 21:41:09 2013 @@ -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 Index: src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot diff -u src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot:1.23 src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot:1.24 --- src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot:1.23 Sun Jun 23 13:56:01 2013 +++ src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot Thu Aug 15 21:41:09 2013 @@ -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_STAN 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 Index: src/sys/arch/zaurus/stand/zboot/Makefile diff -u src/sys/arch/zaurus/stand/zboot/Makefile:1.11 src/sys/arch/zaurus/stand/zboot/Makefile:1.12 --- src/sys/arch/zaurus/stand/zboot/Makefile:1.11 Mon Aug 12 22:50:51 2013 +++ src/sys/arch/zaurus/stand/zboot/Makefile Thu Aug 15 21:41:09 2013 @@ -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 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