1e2b0ddcfa
Peter's new format, and I'd added hints files for each. The build process uses the PICOBSD.hints file as well as the config, and additionally builds with -DNO_MODULES. The build process probably needs to be converted to use the 'buildkernel' method instead of running config itself. The kernels now compile. I've not been able to test the crunch process however because it used the vn driver and there are no /dev/vn device nodes under devfs yet. Maybe someone else could give it a go.
28 lines
493 B
Makefile
28 lines
493 B
Makefile
# $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)
|
|
|