From 1a82ee2eb9f4d671761517c5cdf83bbb5bc8ae34 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Thu, 2 Nov 2006 20:43:20 +0000 Subject: [PATCH] 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 --- tools/tools/nanobsd/nanobsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 063f4cb3b211..1dedbd44a246 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -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 )