Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFL...



details:   https://anonhg.NetBSD.org/src/rev/29922e25adb7
branches:  trunk
changeset: 554470:29922e25adb7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Oct 28 17:58:57 2003 +0000

description:
Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFLAGS to mirror the
file specific flags support of bsd.{lib,prog}.mk.

>From Christos.

diffstat:

 sys/conf/Makefile.kern.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r cbbb911bb1e3 -r 29922e25adb7 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Tue Oct 28 17:54:35 2003 +0000
+++ b/sys/conf/Makefile.kern.inc        Tue Oct 28 17:58:57 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.39 2003/10/28 12:11:31 he Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.40 2003/10/28 17:58:57 skrll Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -64,6 +64,8 @@
 CWARNFLAGS+=   -Wno-uninitialized
 .endif
 .endif
+CFLAGS+=       ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}}
+CFLAGS+=       ${CPPFLAGS.${.IMPSRC:T}}
 CFLAGS+=       ${CPUFLAGS} -ffreestanding ${DEBUG} ${COPTS} ${CWARNFLAGS}
 AFLAGS+=       ${CPUFLAGS} -D_LOCORE
 



Home | Main Index | Thread Index | Old Index