specify kernel dir

This commit is contained in:
Mario Fetka 2012-11-06 03:01:29 +01:00
parent 09126e9cf1
commit ac4ac82726
1 changed files with 2 additions and 1 deletions

View File

@ -473,6 +473,7 @@ _kernel_src_compile() {
export DEFAULT_KERNEL_SOURCE="${S}"
export CMD_KERNEL_DIR="${S}"
export KERNEL_DIR="${S}"
for opt in ${MAKEOPTS}; do
if [ "${opt:0:2}" = "-j" ]; then
mkopts="${opt}"
@ -601,7 +602,7 @@ _kernel_src_compile() {
emake mrproper
fi
DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" genkernel ${GKARGS} ${K_GENKERNEL_ARGS} \
DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" KERNEL_DIR="${S}" genkernel ${GKARGS} ${K_GENKERNEL_ARGS} \
--kerneldir="${S}" \
--kernel-config="${WORKDIR}"/config \
--cachedir="${WORKDIR}"/cache \