specify kernel dir
This commit is contained in:
parent
09126e9cf1
commit
ac4ac82726
@ -473,6 +473,7 @@ _kernel_src_compile() {
|
|||||||
|
|
||||||
export DEFAULT_KERNEL_SOURCE="${S}"
|
export DEFAULT_KERNEL_SOURCE="${S}"
|
||||||
export CMD_KERNEL_DIR="${S}"
|
export CMD_KERNEL_DIR="${S}"
|
||||||
|
export KERNEL_DIR="${S}"
|
||||||
for opt in ${MAKEOPTS}; do
|
for opt in ${MAKEOPTS}; do
|
||||||
if [ "${opt:0:2}" = "-j" ]; then
|
if [ "${opt:0:2}" = "-j" ]; then
|
||||||
mkopts="${opt}"
|
mkopts="${opt}"
|
||||||
@ -601,7 +602,7 @@ _kernel_src_compile() {
|
|||||||
emake mrproper
|
emake mrproper
|
||||||
fi
|
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}" \
|
--kerneldir="${S}" \
|
||||||
--kernel-config="${WORKDIR}"/config \
|
--kernel-config="${WORKDIR}"/config \
|
||||||
--cachedir="${WORKDIR}"/cache \
|
--cachedir="${WORKDIR}"/cache \
|
||||||
|
Loading…
Reference in New Issue
Block a user