Module Name:    src
Committed By:   uebayasi
Date:           Tue Aug 25 08:01:18 UTC 2015

Modified Files:
        src/sys/conf: Makefile.kern.inc

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


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/conf/Makefile.kern.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.190 src/sys/conf/Makefile.kern.inc:1.191
--- src/sys/conf/Makefile.kern.inc:1.190	Tue Aug 25 02:57:32 2015
+++ src/sys/conf/Makefile.kern.inc	Tue Aug 25 08:01:18 2015
@@ -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 @@ ${KERNLDSCRIPT}: ${SYSTEM_OBJ}
 .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

Reply via email to