summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2006-11-02 20:43:20 +0000
committern_hibma <n_hibma@FreeBSD.org>2006-11-02 20:43:20 +0000
commit3d639ea5f80fdb3bfb4d6290665152503f5892a2 (patch)
treec30116a478d1cf6c24c87d5e22a6d69d4aede8ab /tools
parenta2444d132b1265d36694b281c1cd28c75e2db10d (diff)
downloadFreeBSD-src-3d639ea5f80fdb3bfb4d6290665152503f5892a2.zip
FreeBSD-src-3d639ea5f80fdb3bfb4d6290665152503f5892a2.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/nanobsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 063f4cb..1dedbd4 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
)
OpenPOWER on IntegriCloud