Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/i386/floppies set TOP to ${.CURDIR}/.., and use that
details: https://anonhg.NetBSD.org/src/rev/20d7417a5a3e
branches: trunk
changeset: 521910:20d7417a5a3e
user: lukem <lukem%NetBSD.org@localhost>
date: Fri Feb 08 04:40:51 2002 +0000
description:
set TOP to ${.CURDIR}/.., and use that
diffstat:
distrib/i386/floppies/kernel-ramdisk/Makefile | 8 +++++---
distrib/i386/floppies/kernel-rescue/Makefile | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r 2202fb1df9fd -r 20d7417a5a3e distrib/i386/floppies/kernel-ramdisk/Makefile
--- a/distrib/i386/floppies/kernel-ramdisk/Makefile Fri Feb 08 04:37:25 2002 +0000
+++ b/distrib/i386/floppies/kernel-ramdisk/Makefile Fri Feb 08 04:40:51 2002 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2002/02/03 16:22:24 lukem Exp $
+# $NetBSD: Makefile,v 1.9 2002/02/08 04:40:51 lukem Exp $
-.include "../Makefile.inc"
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
.include <bsd.kernobj.mk>
.include <bsd.own.mk>
@@ -11,7 +13,7 @@
RAMDISK_T ramdisk-tiny
.for V F in ${RAMDISKS}
-${V}!= cd ${.CURDIR}/../${F}/; \
+${V}!= cd ${TOP}/${F}/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/${F}.fs\n" | \
${MAKE} -s -f-
.endfor
diff -r 2202fb1df9fd -r 20d7417a5a3e distrib/i386/floppies/kernel-rescue/Makefile
--- a/distrib/i386/floppies/kernel-rescue/Makefile Fri Feb 08 04:37:25 2002 +0000
+++ b/distrib/i386/floppies/kernel-rescue/Makefile Fri Feb 08 04:40:51 2002 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2002/02/03 16:22:24 lukem Exp $
+# $NetBSD: Makefile,v 1.6 2002/02/08 04:40:51 lukem Exp $
-.include "../Makefile.inc"
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
.include <bsd.kernobj.mk>
.include <bsd.own.mk>
@@ -10,7 +12,7 @@
RAMDISK_T ramdisk-rescuetiny
.for V F in ${RAMDISKS}
-${V}!= cd ${.CURDIR}/../${F}/; \
+${V}!= cd ${TOP}/${F}/; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/${F}.fs\n" | \
${MAKE} -s -f-
.endfor
Home |
Main Index |
Thread Index |
Old Index