Source-Changes-HG archive

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

[src/trunk]: src/distrib/shark/instkernel/instkernel convert to distrib/commo...



details:   https://anonhg.NetBSD.org/src/rev/77013d48965d
branches:  trunk
changeset: 525445:77013d48965d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Apr 11 15:40:01 2002 +0000

description:
convert to distrib/common/Makefile.mdset

diffstat:

 distrib/shark/instkernel/instkernel/Makefile |  32 +++++++---------------------
 1 files changed, 8 insertions(+), 24 deletions(-)

diffs (44 lines):

diff -r f549aa04a3cd -r 77013d48965d distrib/shark/instkernel/instkernel/Makefile
--- a/distrib/shark/instkernel/instkernel/Makefile      Thu Apr 11 15:36:49 2002 +0000
+++ b/distrib/shark/instkernel/instkernel/Makefile      Thu Apr 11 15:40:01 2002 +0000
@@ -1,32 +1,16 @@
-#      $NetBSD: Makefile,v 1.4 2002/03/30 06:55:18 thorpej Exp $
+#      $NetBSD: Makefile,v 1.5 2002/04/11 15:40:01 lukem Exp $
 
-.include "../../../../Makefile.inc"
 .include <bsd.own.mk>
-
-TOP=   ${.CURDIR}/../../../..
+.include "${_SRC_TOP_}/distrib/Makefile.inc"
 
 RAMDISKDIR!=   cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
 RAMDISK=       ${RAMDISKDIR}/ramdisk.fs
-
-KERNEL?=${KERNOBJDIR}/INSTALL/netbsd
-
-all:
-       cp ${KERNEL} netbsd
-       ${MDSETIMAGE} -v netbsd ${RAMDISK}
-       ${STRIP} netbsd
-       OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
-           ${TOP}/sys/arch/arm/conf/elf2aout.sh netbsd netbsd
-       gzip -9f netbsd
+TARGETS=       INSTALL ${RAMDISK}
 
-clean cleandir distclean:
-       rm -f netbsd netbsd.gz
+INSTALL.post=  OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
+                   ${KERNSRCDIR}/arch/arm/conf/elf2aout.sh \
+                   netbsd.tmp netbsd.tmp
 
-release:
-       -mkdir -p ${RELEASEDIR}/binary/kernel
-       cp -p netbsd.gz ${RELEASEDIR}/binary/kernel/netbsd.INSTALL.gz
+MDSETDIR=      binary/kernel
 
-# nothing to do here
-depend includes lint regress tags:
-
-.include <bsd.kernobj.mk>
-.include <bsd.obj.mk>
+.include "${DISTRIBDIR}/common/Makefile.mdset"



Home | Main Index | Thread Index | Old Index