bccec1d693
config file.
21 lines
381 B
Makefile
21 lines
381 B
Makefile
# $Id$
|
|
#
|
|
|
|
SRC?=/usr/src
|
|
CONF?=$(SRC)/sys/i386/conf
|
|
|
|
CONFFILE=PICOBSD-R.${SIZE}
|
|
COMPILE=$(SRC)/sys/compile/$(CONFFILE)
|
|
KERNFILE=$(COMPILE)/kernel
|
|
|
|
all: $(KERNFILE)
|
|
|
|
$(KERNFILE): PICOBSD
|
|
cat PICOBSD | grep -v "MFS_ROOT" > ${CONF}/${CONFFILE}
|
|
echo "options \"MFS_ROOT=${SIZE}\"" >> ${CONF}/${CONFFILE}
|
|
(cd ${CONF}; \
|
|
config ${CONFFILE}; \
|
|
cd ${COMPILE}; \
|
|
make depend && make)
|
|
|