summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-04-30 17:59:35 +0000
committerdrahn <drahn@openbsd.org>2002-04-30 17:59:35 +0000
commitbc14940ac78c657c8b6d0d0042ca133dbd974241 (patch)
treeeb50a24f83f917f816c81403791128cd5aa65470
parentuninitialized variable usage was here (diff)
downloadwireguard-openbsd-bc14940ac78c657c8b6d0d0042ca133dbd974241.tar.xz
wireguard-openbsd-bc14940ac78c657c8b6d0d0042ca133dbd974241.zip
Parital sync to i386 common/Makefile.inc, enough to build ramdisk at least.
-rw-r--r--distrib/macppc/ramdisk/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/distrib/macppc/ramdisk/Makefile b/distrib/macppc/ramdisk/Makefile
index 1cf54e1587d..d63858e9880 100644
--- a/distrib/macppc/ramdisk/Makefile
+++ b/distrib/macppc/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2002/04/30 09:18:20 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2002/04/30 17:59:35 drahn Exp $
REV= ${OSrev}
@@ -7,6 +7,8 @@ TOP= ${.CURDIR}/..
BSD_RD= bsd.rd
IMAGE= mr.fs
CBIN?= instbin
+CRUNCHCONF?= ${CBIN}.conf
+CRUNCHCONFS?= ${.CURDIR}/../common/crunch.conf
LISTS= ${.CURDIR}/list
UTILS?= ${.CURDIR}/../../miniroot
@@ -84,12 +86,15 @@ unconfig:
install:
cp ${BSD_RD} cd${REV}.fs ${DESTDIR}/snapshot/
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CBIN}.conf
+${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -E -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
make -f ${CBIN}.mk all
+${CRUNCHCONF}: ${LISTS}
+ awk -f ${UTILS}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
+
do_files:
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \