28 lines
493 B
Makefile
Raw Normal View History

1999-08-28 01:35:59 +00:00
# $FreeBSD$
#
# Makefile for building PICOBSD kernels
SRC?=/usr/src
CONF?=$(SRC)/sys/i386/conf
CONFFILE=PICOBSD${suffix}
COMPILE=$(SRC)/sys/compile/$(CONFFILE)
KERNFILE=$(COMPILE)/kernel
all: $(KERNFILE)
${CONF}/${CONFFILE}: PICOBSD
cp PICOBSD ${CONF}/${CONFFILE}
cp PICOBSD.hints ${CONF}/${CONFFILE}.hints
(cd ${CONF}; \
config ${CONFFILE}; \
cd ${COMPILE}; \
make depend -DNO_MODULES)
${COMPILE}: ${CONF}/${CONFFILE}
$(KERNFILE): ${COMPILE}
(cd ${COMPILE}; make -DNO_MODULES)