1999-08-23 08:33:08 +00:00
|
|
|
# $Id: Makefile.conf,v 1.1 1999/08/22 21:42:29 dwhite Exp $
|
1998-09-03 10:41:36 +00:00
|
|
|
#
|
1999-08-22 21:45:24 +00:00
|
|
|
# Makefile for building PICOBSD kernels
|
1998-09-03 10:41:36 +00:00
|
|
|
|
|
|
|
SRC?=/usr/src
|
|
|
|
CONF?=$(SRC)/sys/i386/conf
|
|
|
|
|
1999-08-22 21:45:24 +00:00
|
|
|
CONFFILE=PICOBSD${suffix}
|
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}
|
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
|
|
|
|