freebsd-dev/release/picobsd/net/conf/Makefile
Andrzej Bialecki fa72cf69bf Make proper use of ${suffix} instead of hardwired suffixes.
Pointed out by:	Randal Masutani <randal@comtest.com>
1998-09-29 12:12:47 +00:00

21 lines
435 B
Makefile

# $Id: Makefile,v 1.1 1998/09/03 10:41:29 abial Exp $
#
SRC?=/usr/src
CONF?=$(SRC)/sys/i386/conf
CONFFILE=PICOBSD${suffix}.${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)