mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 11:12:46 +00:00
f908e29f8d
Approved-by: jordan
27 lines
425 B
Makefile
27 lines
425 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}
|
|
(cd ${CONF}; \
|
|
config ${CONFFILE}; \
|
|
cd ${COMPILE}; \
|
|
make depend )
|
|
|
|
${COMPILE}: ${CONF}/${CONFFILE}
|
|
|
|
$(KERNFILE): ${COMPILE}
|
|
(cd ${COMPILE}; make )
|
|
|