1999-01-14 23:22:51 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/10/15 21:40:02 abial Exp $
|
1998-09-03 10:41:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
SRC?=/usr/src
|
|
|
|
CONF?=$(SRC)/sys/i386/conf
|
|
|
|
|
1998-09-29 12:12:47 +00:00
|
|
|
CONFFILE=PICOBSD${suffix}.${SIZE}
|
1998-09-03 10:41:36 +00:00
|
|
|
COMPILE=$(SRC)/sys/compile/$(CONFFILE)
|
|
|
|
KERNFILE=$(COMPILE)/kernel
|
|
|
|
|
|
|
|
all: $(KERNFILE)
|
|
|
|
|
|
|
|
$(KERNFILE): PICOBSD
|
|
|
|
cat PICOBSD | grep -v "MFS_ROOT" > ${CONF}/${CONFFILE}
|
1998-10-15 21:40:07 +00:00
|
|
|
echo "options MFS_ROOT" >> ${CONF}/${CONFFILE}
|
|
|
|
echo "options MFS_ROOT_SIZE=${SIZE}" >> ${CONF}/${CONFFILE}
|
1998-09-03 10:41:36 +00:00
|
|
|
(cd ${CONF}; \
|
|
|
|
config ${CONFFILE}; \
|
|
|
|
cd ${COMPILE}; \
|
1999-01-14 23:22:51 +00:00
|
|
|
make depend all)
|
1998-09-03 10:41:36 +00:00
|
|
|
|