New crunchgen writes ${CRUNCHIDE} in ${CBIN}.mk, so we can nuke tricky code.

This commit is contained in:
msaitoh 2000-11-14 06:37:07 +00:00
parent 45804ccf0e
commit 3d17968c8f
2 changed files with 26 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2000/11/01 07:57:57 garbled Exp $ # $NetBSD: Makefile,v 1.4 2000/11/14 06:37:07 msaitoh Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
WARNS=1 WARNS=1
@ -18,14 +18,18 @@ VND_CRDEV= /dev/r${VND}d
IMAGE?= xxx.fs IMAGE?= xxx.fs
MDEC= ${DESTDIR}/usr/mdec MDEC= ${DESTDIR}/usr/mdec
SUDO= sudo #CRUNCHGEN?= sh-crunchgen
CRUNCHGEN?= /usr/local/bin/sh-crunchgen
DISKLABEL= ${SUDO} disklabel # for cross compile
MOUNT= ${SUDO} mount #CRUNCHIDE?= sh-crunchide
MTREE= ${SUDO} mtree
NEWFS= ${SUDO} newfs SUDO?= sudo
UMOUNT= ${SUDO} umount DISKLABEL?= ${SUDO} disklabel
VNCONFIG= ${SUDO} vnconfig MOUNT?= ${SUDO} mount
MTREE?= ${SUDO} mtree
NEWFS?= ${SUDO} newfs
UMOUNT?= ${SUDO} umount
VNCONFIG?= ${SUDO} vnconfig
LISTS= ../ramdiskcommon/list LISTS= ../ramdiskcommon/list
CRUNCHCONF= ../ramdiskcommon/${CBIN}.conf CRUNCHCONF= ../ramdiskcommon/${CBIN}.conf
@ -66,7 +70,6 @@ ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
${CRUNCHGEN} -D ${TOP}/../../.. -L ${.CURDIR} ${.ALLSRC} ${CRUNCHGEN} -D ${TOP}/../../.. -L ${.CURDIR} ${.ALLSRC}
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
PATH=/usr/local/sh-evbsh3112-netbsdcoff/bin:${PATH} \
${MAKE} -f ${CBIN}.mk all ${MAKE} -f ${CBIN}.mk all
# This is listed in stonebin.conf but is built here. # This is listed in stonebin.conf but is built here.

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2000/11/01 07:57:57 garbled Exp $ # $NetBSD: Makefile,v 1.4 2000/11/14 06:37:07 msaitoh Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
WARNS=1 WARNS=1
@ -18,14 +18,18 @@ VND_CRDEV= /dev/r${VND}d
IMAGE?= xxx.fs IMAGE?= xxx.fs
MDEC= ${DESTDIR}/usr/mdec MDEC= ${DESTDIR}/usr/mdec
SUDO= sudo #CRUNCHGEN?= sh-crunchgen
CRUNCHGEN?= /usr/local/bin/sh-crunchgen
DISKLABEL= ${SUDO} disklabel # for cross compile
MOUNT= ${SUDO} mount #CRUNCHIDE?= sh-crunchide
MTREE= ${SUDO} mtree
NEWFS= ${SUDO} newfs SUDO?= sudo
UMOUNT= ${SUDO} umount DISKLABEL?= ${SUDO} disklabel
VNCONFIG= ${SUDO} vnconfig MOUNT?= ${SUDO} mount
MTREE?= ${SUDO} mtree
NEWFS?= ${SUDO} newfs
UMOUNT?= ${SUDO} umount
VNCONFIG?= ${SUDO} vnconfig
LISTS= ../ramdiskcommon/list LISTS= ../ramdiskcommon/list
CRUNCHCONF= ../ramdiskcommon/${CBIN}.conf CRUNCHCONF= ../ramdiskcommon/${CBIN}.conf
@ -66,7 +70,6 @@ ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
${CRUNCHGEN} -D ${TOP}/../../.. -L ${.CURDIR} ${.ALLSRC} ${CRUNCHGEN} -D ${TOP}/../../.. -L ${.CURDIR} ${.ALLSRC}
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
PATH=/usr/local/shel-evbsh3112-netbsdcoff/bin:${PATH} \
${MAKE} -f ${CBIN}.mk all ${MAKE} -f ${CBIN}.mk all
# This is listed in stonebin.conf but is built here. # This is listed in stonebin.conf but is built here.