Source-Changes-HG archive

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

[src/trunk]: src/distrib/arc/instkernel convert to the new MDSET.*.suffixes /...



details:   https://anonhg.NetBSD.org/src/rev/5cbe1d680841
branches:  trunk
changeset: 525664:5cbe1d680841
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Apr 15 01:55:07 2002 +0000

description:
convert to the new MDSET.*.suffixes / MDSET.*.post variables,
and take advantage of MDSETDIR enabling a release target

diffstat:

 distrib/arc/instkernel/Makefile |  19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diffs (36 lines):

diff -r 732df454063a -r 5cbe1d680841 distrib/arc/instkernel/Makefile
--- a/distrib/arc/instkernel/Makefile   Mon Apr 15 01:43:35 2002 +0000
+++ b/distrib/arc/instkernel/Makefile   Mon Apr 15 01:55:07 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2002/04/14 14:14:16 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.2 2002/04/15 01:55:07 lukem Exp $
 
 .include <bsd.own.mk>
 .include "${_SRC_TOP_}/distrib/Makefile.inc"
@@ -7,21 +7,14 @@
 RAMDISK=       ${RAMDISKDIR}/ramdisk.fs
 MDSETTARGETS=  RAMDISK ${RAMDISK} -
 
-netbsd.RAMDISK.post=   OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
+MDSET.-.suffixes=      ecoff
+MDSET.-.post=          OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
                            ${OBJCOPY} -O ecoff-littlemips \
                            -R .mdebug -R .ident \
-                           netbsd.tmp netbsd.tmp.ecoff && \
-                           gzip -9f netbsd.tmp.ecoff && \
-                           mv netbsd.tmp.ecoff.gz netbsd.RAMDISK.ecoff.gz
-
-CLEANFILES+=   netbsd.tmp.ecoff netbsd.RAMDISK.ecoff netbsd.RAMDISK.ecoff.gz
+                           netbsd.tmp netbsd.ecoff && \
+                           gzip -9f netbsd.ecoff
 
-KERNBINDIR=    ${RELEASEDIR}/binary/kernel
-
-release: check_RELEASEDIR .WAIT netbsd.RAMDISK.gz netbsd.RAMDISK.ecoff.gz
-       -mkdir -p ${KERNBINDIR}
-       ${RELINSTALL} netbsd.RAMDISK.gz netbsd.RAMDISK.symbols.gz \
-           netbsd.RAMDISK.ecoff.gz ${KERNBINDIR}
+MDSETDIR=      binary/kernel
 
 .include "${DISTRIBDIR}/common/Makefile.mdset"
 



Home | Main Index | Thread Index | Old Index