freebsd-dev/release/picobsd/build/Makefile.conf
2000-11-02 12:46:02 +00:00

25 lines
439 B
Makefile

# $FreeBSD$
#
# Makefile for building PICOBSD kernels
SRC?=/usr/src
CONF?=$(SRC)/sys/i386/conf
CONFFILE=PICOBSD${suffix}
COMPILE=$(OBJ)/usr/src/sys/$(CONFFILE)
KERNFILE=$(COMPILE)/kernel
all: $(KERNFILE)
${CONF}/${CONFFILE}: PICOBSD
cp PICOBSD ${CONF}/${CONFFILE}
cp PICOBSD.hints ${CONF}/${CONFFILE}.hints
${COMPILE}: ${CONF}/${CONFFILE}
$(KERNFILE): ${COMPILE}
(cd ${SRC}; \
make buildkernel KERNEL=${CONFFILE} -DNO_MODULES)