Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cats/conf Use variables where appropriate.



details:   https://anonhg.NetBSD.org/src/rev/eab4ae98c98e
branches:  trunk
changeset: 339996:eab4ae98c98e
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Aug 20 06:20:19 2015 +0000

description:
Use variables where appropriate.

diffstat:

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

diffs (27 lines):

diff -r 312cb90375f4 -r eab4ae98c98e sys/arch/cats/conf/Makefile.cats.inc
--- a/sys/arch/cats/conf/Makefile.cats.inc      Thu Aug 20 06:19:36 2015 +0000
+++ b/sys/arch/cats/conf/Makefile.cats.inc      Thu Aug 20 06:20:19 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.cats.inc,v 1.33 2015/08/19 04:53:03 uebayasi Exp $
+#      $NetBSD: Makefile.cats.inc,v 1.34 2015/08/20 06:20:19 uebayasi Exp $
 
 MACHINE_ARCH?= arm
 CPPFLAGS+=     -D${MACHINE}
@@ -18,7 +18,7 @@
 KERNLDSCRIPT=  ldscript
 EXTRA_CLEAN+=  ${KERNLDSCRIPT}
 
-ldscript: \
+${KERNLDSCRIPT}: \
     ${ARM}/conf/kern.ldscript.head \
     ${ARM}/conf/kern.ldscript.tail \
     $S/conf/mkldscript.sh \
@@ -26,7 +26,7 @@
        ( cat ${ARM}/conf/kern.ldscript.head ; \
          OBJDUMP=${OBJDUMP} ${HOST_SH} $S/conf/mkldscript.sh \
                ${SYSTEM_OBJ} ; \
-         cat ${ARM}/conf/kern.ldscript.tail ) > ldscript
+         cat ${ARM}/conf/kern.ldscript.tail ) > $@
 
 SYSTEM_LD_TAIL_EXTRA+=; \
        echo "${OBJCOPY} ${OBJCOPY_ELF2AOUT_FLAGS} $@ $@.aout"; \



Home | Main Index | Thread Index | Old Index