Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/evbarm/instkernel/ramdisk When building earmv7 ramdi...



details:   https://anonhg.NetBSD.org/src/rev/bbf2a9b3def2
branches:  trunk
changeset: 816461:bbf2a9b3def2
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 07 06:28:20 2016 +0000

description:
When building earmv7 ramdisks, compile with -mthumb -mthumb-interwork
to save space.  Think of it as -Os on steriods.

diffstat:

 distrib/evbarm/instkernel/ramdisk/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 91d6b1842100 -r bbf2a9b3def2 distrib/evbarm/instkernel/ramdisk/Makefile
--- a/distrib/evbarm/instkernel/ramdisk/Makefile        Thu Jul 07 03:15:58 2016 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/Makefile        Thu Jul 07 06:28:20 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2014/01/09 22:48:16 matt Exp $
+#      $NetBSD: Makefile,v 1.14 2016/07/07 06:28:20 matt Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -9,6 +9,9 @@
 
 WARNS=         1
 DBG=           -Os
+.if !empty(MACHINE_ARCH:Mearmv7*)
+DBG+=          -mthumb -mthumb-interwork
+.endif
 
 CRUNCHBIN=     ramdiskbin
 LISTS=         ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst



Home | Main Index | Thread Index | Old Index