diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2006-11-02 20:43:20 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2006-11-02 20:43:20 +0000 |
commit | 3d639ea5f80fdb3bfb4d6290665152503f5892a2 (patch) | |
tree | c30116a478d1cf6c24c87d5e22a6d69d4aede8ab /tools | |
parent | a2444d132b1265d36694b281c1cd28c75e2db10d (diff) | |
download | FreeBSD-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.sh | 2 |
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 ) |