mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01: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 )
|
|
|