Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Make <kernel>.ldscript ready to include assym.h.



details:   https://anonhg.NetBSD.org/src/rev/851c80760964
branches:  trunk
changeset: 810312:851c80760964
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Aug 25 08:01:18 2015 +0000

description:
Make <kernel>.ldscript ready to include assym.h.

diffstat:

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

diffs (21 lines):

diff -r 106074bbe48c -r 851c80760964 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Tue Aug 25 02:58:59 2015 +0000
+++ b/sys/conf/Makefile.kern.inc        Tue Aug 25 08:01:18 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.190 2015/08/25 02:57:32 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.191 2015/08/25 08:01:18 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -251,9 +251,9 @@
 .for k in ${KERNELS}
 EXTRA_CLEAN+=  ${k}.ldscript
 ${k}: ${k}.ldscript
-${k}.ldscript: ${KERNLDSCRIPT}
+${k}.ldscript: ${KERNLDSCRIPT} assym.h
        ${_MKTARGET_CREATE}
-       ${CPP} ${KERNLDSCRIPT} | grep -v '^#' | grep -v '^$$' >$@
+       ${CPP} -I. ${KERNLDSCRIPT} | grep -v '^#' | grep -v '^$$' >$@
 .endfor
 LINKSCRIPT=    -T ${.TARGET}.ldscript
 .endif



Home | Main Index | Thread Index | Old Index