Module Name: src
Committed By: uebayasi
Date: Thu Aug 20 06:21:26 UTC 2015
Modified Files:
src/sys/arch/evbarm/conf: Makefile.evbarm.inc
Log Message:
Clean up ${LINKSCRIPT} and ${KERNLDSCRIPT}.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbarm/conf/Makefile.evbarm.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/arch/evbarm/conf/Makefile.evbarm.inc
diff -u src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.31 src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.32
--- src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.31 Sat Nov 15 14:55:02 2014
+++ src/sys/arch/evbarm/conf/Makefile.evbarm.inc Thu Aug 20 06:21:26 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.evbarm.inc,v 1.31 2014/11/15 14:55:02 uebayasi Exp $
+# $NetBSD: Makefile.evbarm.inc,v 1.32 2015/08/20 06:21:26 uebayasi Exp $
#
# If this is a install kernel and the ramdisk image exists in the object
@@ -28,15 +28,21 @@ CPPFLAGS+=-DKERNEL_BASE_VOFFSET="(${KERN
. endif
.endif
-EXTRA_CLEAN+= ldscript tmp ${KERNELS:=.map}
+EXTRA_CLEAN+= ${KERNELS:=.map}
.if defined(KERNEL_BASE_PHYS)
LINKTEXT=
KERNLDSCRIPT= ldscript
-LINKSCRIPT= -T ldscript
+LINKSCRIPT= -T ${KERNLDSCRIPT}
+
+EXTRA_CLEAN+= ${KERNLDSCRIPT} tmp
# generate ldscript from common template
-ldscript: ${THISARM}/conf/ldscript.evbarm ${THISARM}/conf/Makefile.evbarm.inc Makefile ${BOARDMKFRAG}
+${KERNLDSCRIPT}: \
+ ${THISARM}/conf/ldscript.evbarm \
+ ${THISARM}/conf/Makefile.evbarm.inc \
+ Makefile \
+ ${BOARDMKFRAG}
echo ${KERNELS}
${TOOL_SED} -e 's/@KERNEL_BASE_PHYS@/${KERNEL_BASE_PHYS}/' \
-e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' \