1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
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}
|
2000-10-16 08:08:31 +00:00
|
|
|
COMPILE=$(OBJ)/usr/src/sys/$(CONFFILE)
|
1998-09-03 10:41:36 +00:00
|
|
|
KERNFILE=$(COMPILE)/kernel
|
|
|
|
|
|
|
|
all: $(KERNFILE)
|
|
|
|
|
2000-02-08 08:25:00 +00:00
|
|
|
|
|
|
|
${CONF}/${CONFFILE}: PICOBSD
|
|
|
|
cp PICOBSD ${CONF}/${CONFFILE}
|
2000-10-15 20:42:22 +00:00
|
|
|
cp PICOBSD.hints ${CONF}/${CONFFILE}.hints
|
2000-02-08 08:25:00 +00:00
|
|
|
|
|
|
|
${COMPILE}: ${CONF}/${CONFFILE}
|
|
|
|
|
|
|
|
$(KERNFILE): ${COMPILE}
|
2000-10-16 08:08:31 +00:00
|
|
|
(cd ${SRC}; \
|
|
|
|
make buildkernel KERNEL=${CONFFILE} -DNO_MODULES)
|
1998-09-03 10:41:36 +00:00
|
|
|
|