mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
21 lines
407 B
Makefile
21 lines
407 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)
|
|
|
|
$(KERNFILE): PICOBSD
|
|
cat PICOBSD | grep -v "MD_ROOT" > ${CONF}/${CONFFILE}
|
|
echo "options MD_ROOT" >> ${CONF}/${CONFFILE}
|
|
(cd ${CONF}; \
|
|
config ${CONFFILE}; \
|
|
cd ${COMPILE}; \
|
|
make depend all)
|
|
|