nanobsd: adopt dhcpd to latest conventions

Adopt the dhcpd build to use nanobsd-build top level directory that
other nanobsd builds are using.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2021-07-30 16:55:43 -06:00
parent d0d631d5f4
commit 9ed1e98abf

View File

@ -41,11 +41,11 @@ NANO_CFG_BASE=$(pwd)
NANO_CFG_BASE=${NANO_CFG_BASE%/dhcpd}
NANO_SRC=$(pwd)
NANO_SRC=${NANO_SRC%/tools/tools/nanobsd/dhcpd}
NANO_OBJ=${NANO_SRC}/../dhcpd/obj
NANO_OBJ=${NANO_SRC}/../nanobsd-builds/dhcpd/obj
# Where cust_pkg() finds packages to install
#XXX: Is this the right place?
#NANO_PORTS=$(realpath ${NANO_SRC}/../ports)
NANO_PORTS=/usr/ports
NANO_PORTS=$(realpath ${NANO_SRC}/../ports)
#NANO_PORTS=/usr/ports
NANO_PACKAGE_DIR=${NANO_SRC}/${NANO_TOOLS}/Pkg
NANO_DATADIR=${NANO_OBJ}/_.data
NANO_DATASIZE=40960