Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/conf Make sure certain files are always assembl...



details:   https://anonhg.NetBSD.org/src/rev/1ebae25d2551
branches:  trunk
changeset: 790972:1ebae25d2551
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Oct 28 22:52:04 2013 +0000

description:
Make sure certain files are always assembled with -marm

diffstat:

 sys/arch/arm/conf/Makefile.arm |  24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r 93d1fe02f829 -r 1ebae25d2551 sys/arch/arm/conf/Makefile.arm
--- a/sys/arch/arm/conf/Makefile.arm    Mon Oct 28 22:51:16 2013 +0000
+++ b/sys/arch/arm/conf/Makefile.arm    Mon Oct 28 22:52:04 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm,v 1.37 2013/02/03 11:36:55 skrll Exp $
+#      $NetBSD: Makefile.arm,v 1.38 2013/10/28 22:52:04 matt Exp $
 
 # Makefile for NetBSD
 #
@@ -35,6 +35,14 @@
 # CPPFLAGS set by platform-specific Makefile fragment.
 AFLAGS+=       -x assembler-with-cpp
 COPTS.arm32_kvminit.c+=                -fno-stack-protector
+AFLAGS.bcopyinout.S+=-marm
+AFLAGS.cpuswitch.S+=-marm
+AFLAGS.locore.S+=-marm
+AFLAGS.fusu.S+=-marm
+AFLAGS.exception.S+=-marm
+AFLAGS.irq_dispatch.S+=-marm
+AFLAGS.blockio.S+=-marm
+AFLAGS.copystr.S+=-marm
 CFLAGS+=        -mfloat-abi=soft
 
 ##
@@ -42,6 +50,7 @@
 ##
 KERN_AS=       obj
 
+
 ##
 ## (4) local objects, compile rules, and dependencies
 ##
@@ -109,11 +118,20 @@
 %RULES
 
 ##
-## (9) port independent kernel machinery
+## (9) after the config file is inserted
 ##
+
+.for f in ${SFILES:T:Mcpufunc_asm*}
+AFLAGS.${f}+=-marm
+.endfor
+
+##
+## (10) port independent kernel machinery
+##
+
 .include "$S/conf/Makefile.kern.inc"
 
 ##
-## (10) Appending make options.
+## (11) Appending make options.
 ##
 %MAKEOPTIONSAPPEND



Home | Main Index | Thread Index | Old Index