Only use the filename part of the kernel configuration file as an argument to

KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This
allows the use of one kernel config file for multiple images. E.g.:

	NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS

MFC: after 6.2
This commit is contained in:
Nick Hibma 2006-11-02 20:43:20 +00:00
parent 29a055ac65
commit 1a82ee2eb9

View File

@ -154,7 +154,7 @@ build_kernel ( ) (
cd ${NANO_SRC}
${NANO_PMAKE} buildkernel \
__MAKE_CONF=${NANO_MAKE_CONF} KERNCONF=${NANO_KERNEL} \
__MAKE_CONF=${NANO_MAKE_CONF} KERNCONF=`basename ${NANO_KERNEL}` \
> ${MAKEOBJDIRPREFIX}/_.bk 2>&1
)