summaryrefslogtreecommitdiff
path: root/distrib/sparc64/bsd.rd/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-07 18:44:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-07 18:44:07 +0000
commit2ea3f7af298faeb6d751bb68c7d3a911fc39c0a2 (patch)
treeef4ffcb56a96a34d20e82dedb8be1f3f24983bcc /distrib/sparc64/bsd.rd/Makefile
parente3500453ce2b94b39af2ef626169742ebc17530c (diff)
fix conf file generation
Diffstat (limited to 'distrib/sparc64/bsd.rd/Makefile')
-rw-r--r--distrib/sparc64/bsd.rd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile
index 91914efcb24..4d8fe9eacc2 100644
--- a/distrib/sparc64/bsd.rd/Makefile
+++ b/distrib/sparc64/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2002/04/30 09:18:20 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2002/05/07 18:44:05 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -6,7 +6,6 @@ TOP= ${.CURDIR}/..
IMAGE= ramdisk${REV}.fs
CBIN?= instbin
LISTS?= ${.CURDIR}/list
-CRUNCHCONF?= ${.CURDIR}/${CBIN}.conf
UTILS?= ${TOP}/../miniroot
MOUNT_POINT= /mnt
@@ -118,9 +117,12 @@ install:
cp bsd.rd ${DESTDIR}/snapshot/bsd.rd
.endif
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
+${CBIN}.conf: ${LISTS}
+ awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
+
+${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CBIN}.conf
crunchgen -E -D ${BSDSRCDIR} -L ${DESTDIR}/usr/lib \
- -c ${CBIN}.c -e ${CBIN} -m ${CBIN}.mk ${CRUNCHCONF}
+ -c ${CBIN}.c -e ${CBIN} -m ${CBIN}.mk ${CBIN}.conf
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
make -f ${CBIN}.mk all