a0ab7f4419
With these scripts i was able to build a _working_ image of a bridge-like floppy image with a reasonable set of utilities in it, despite the code size increase we have in 5.0 The scripts are slightly different from the previous ones especially on the place where the kernel and binaries are built. Hopefully this will not cause too much trouble to people (is there any???) using the old scripts.
27 lines
519 B
Makefile
27 lines
519 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
|
|
|
|
${COMPILE}: ${CONF}/${CONFFILE}
|
|
(cd ${CONF}; config ${CONFFILE}; cd ${COMPILE}; \
|
|
make KERNEL=kernel -DNO_MODULES depend )
|
|
|
|
$(KERNFILE): ${COMPILE}
|
|
(cd ${COMPILE}; \
|
|
make KERNEL=kernel -DNO_MODULES)
|
|
|