slight cleanup of the floppy building stuff to take into account

the new OBJdir system.
quite a bit to go yet.

cd /usr/src; make world
cd release
cd sysinstall;make obj; cd ..
cd floppies; make obj; make
This commit is contained in:
Julian Elischer 1996-08-22 09:45:46 +00:00
parent 5eaf55414c
commit 37dc8bea84
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17770
7 changed files with 29 additions and 26 deletions

View File

@ -1,13 +1,9 @@
# $Id: Makefile,v 1.1 1996/05/21 01:12:20 julian Exp $ # $Id: Makefile,v 1.2 1996/05/29 01:35:18 jkh Exp $
# #
SUBDIR= boot fixit SUBDIR= boot fixit
PROG=write_mfs_in_kernel PROG=write_mfs_in_kernel
NOMAN=yes NOMAN=yes
#write_mfs_in_kernel: ${.CURDIR}/write_mfs_in_kernel.c
# ${CC} ${CFLAGS} -o write_mfs_in_kernel ${.CURDIR}/write_mfs_in_kernel.c
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,2 +1,15 @@
OBJTOP=../../../..
SYSINSTALL= ${OBJTOP}/release/sysinstall/sysinstall
all: ${SYSINSTALL}
${SYSINSTALL}:
cd ${.CURDIR}/../../../../release/sysinstall ; make
@if ! test -f ${SYSINSTALL} ; then \
${ECHO} "sysinstall not made" ; \
${ECHO} "Possibly need to 'make obj' for floppies and sysinstall" ; \
exit 1; \
fi
.include "../../makecrunch.mk" .include "../../makecrunch.mk"

View File

@ -1,5 +1,5 @@
# $Id: Makefile,v 1.1 1996/05/21 01:12:35 julian Exp $ # $Id: Makefile,v 1.2 1996/06/24 04:23:34 jkh Exp $
# If this is a RELEASE, then set # If this is a RELEASE, then set
# Things which without too much trouble can be considered variables # Things which without too much trouble can be considered variables
@ -55,9 +55,11 @@ all: ${FS_BIN}/write_mfs_in_kernel
# We don't erase the sys/compile/${KERNEL} directory, since somebody # We don't erase the sys/compile/${KERNEL} directory, since somebody
# may want to reuse it (release.8 presently) # may want to reuse it (release.8 presently)
# #
CONF=${TOP}/sys/i386/conf
COMPILE=${TOP}/sys/compile
doKERNEL: doKERNEL:
cd ${TOP}/sys/i386/conf && config -n ${KERNEL} cd ${CONF} && config -n ${KERNEL}
cd ${OBJTOP}/sys/compile/${KERNEL} && \ cd ${COMPILE}/${KERNEL} && \
make depend && \ make depend && \
make kernel && \ make kernel && \
@ -65,10 +67,8 @@ doKERNEL:
# --==## Put a filesystem into a BOOTMFS kernel ##==-- # --==## Put a filesystem into a BOOTMFS kernel ##==--
# #
LABELDIR=${OBJTOP}/sys/i386/boot/biosboot LABELDIR=${OBJTOP}/sys/i386/boot/biosboot
CONF=${TOP}/sys/i386/conf
COMPILE=${OBJTOP}/sys/compile
doMFSKERN: doMFSKERN:
rm -f ${OBJTOP}/sys/compile/BOOTMFS/mfs_vfsops.o rm -f ${COMPILE}/BOOTMFS/mfs_vfsops.o
cd ${CONF} && \ cd ${CONF} && \
fgrep -v SYSV GENERIC | \ fgrep -v SYSV GENERIC | \
fgrep -v pty | \ fgrep -v pty | \

View File

@ -1,9 +1,10 @@
### ###
# $Id: Makefile,v 1.214 1996/05/02 08:18:28 jkh Exp $ # $Id: Makefile,v 1.1 1996/05/21 01:12:36 julian Exp $
# #
# What are we if we weren't told.. # What are we if we weren't told..
CRUNCH?= mfs CRUNCH?= mfs
CRUNCHDIRS= ../crunch CRUNCHDIRS= ../crunch
OBJTOP=../../../..
TOP=${.CURDIR}/../../../.. TOP=${.CURDIR}/../../../..
FS_BIN=${.CURDIR}/../.. FS_BIN=${.CURDIR}/../..
FSLABEL=minimum FSLABEL=minimum

View File

@ -1,5 +1,5 @@
### ###
# $Id: Makefile,v 1.214 1996/05/02 08:18:28 jkh Exp $ # $Id: crunch_fs.mk,v 1.1 1996/05/21 01:12:21 julian Exp $
# #
# This is included to make a floppy that includes a crunch file # This is included to make a floppy that includes a crunch file
# #
@ -34,7 +34,7 @@ ZIP?=true
# Things which will get you into trouble if you change them # Things which will get you into trouble if you change them
TREE= tree TREE= tree
LABELDIR= ${TOP}/sys/i386/boot/biosboot/obj LABELDIR= ${OBJTOP}/sys/i386/boot/biosboot
clean: clean:
rm -rf tree fs-image fs-image.size step[0-9] rm -rf tree fs-image fs-image.size step[0-9]
@ -57,7 +57,7 @@ ${TREE}: ${.CURDIR}/Makefile
ln -s /stand $${i} ; \ ln -s /stand $${i} ; \
done done
step2: ${CRUNCHDIRS} ${.CURDIR}/Makefile step2: ${.CURDIR}/${CRUNCHDIRS} ${.CURDIR}/Makefile
.if defined(CRUNCHDIRS) .if defined(CRUNCHDIRS)
@cd ${.CURDIR} && $(MAKE) installCRUNCH DIR=${TREE}/stand ZIP=${ZIP} @cd ${.CURDIR} && $(MAKE) installCRUNCH DIR=${TREE}/stand ZIP=${ZIP}
.endif .endif
@ -73,7 +73,7 @@ step3: step2
step4: step3 step4: step3
.if defined(VERBATIM) .if defined(VERBATIM)
A=`pwd`;cd ${.CURDIR}/${VERBATIM}; \ A=`pwd`;cd ${.CURDIR}/${VERBATIM}; \
find . -print |cpio -pdmuv $$A/tree find . \! \( -name CVS -and -prune \) -print |cpio -pdmuv $$A/tree
.endif .endif
true || cp ${TOP}/etc/spwd.db tree/etc true || cp ${TOP}/etc/spwd.db tree/etc
touch step4 touch step4

View File

@ -1,2 +1,3 @@
OBJTOP=../../../..
.include "../../makecrunch.mk" .include "../../makecrunch.mk"

View File

@ -1,18 +1,10 @@
.if exists(../../../../release/sysinstall/sysinstall) SYSINSTALL= ${OBJTOP}/release/sysinstall/sysinstall
SYSINSTALL= ../../../../release/sysinstall/sysinstall
.else
SYSINSTALL= ../../../../release/sysinstall/obj/sysinstall
.endif
NOCRYPT?= yes NOCRYPT?= yes
all: ${SYSINSTALL} crunch all: crunch
${SYSINSTALL}:
@echo "you need to make sysinstall first"
false
crunch: crunch:
-crunchgen ${.CURDIR}/crunch.conf -crunchgen ${.CURDIR}/crunch.conf