This commit is contained in:
Mario Fetka 2012-11-06 07:18:16 +01:00
parent cf2aef1a6f
commit 08aeff918f

View File

@ -602,9 +602,6 @@ _kernel_src_compile() {
emake mrproper emake mrproper
fi fi
ln -sf "${S}" /usr/src/linux
emake mrproper
DEFAULT_KERNEL_SOURCE="${S}" CMD_KERNEL_DIR="${S}" 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 \
@ -618,9 +615,8 @@ _kernel_src_compile() {
all || die "genkernel failed" all || die "genkernel failed"
ARCH=${OLDARCH} ARCH=${OLDARCH}
emake prepare #cp "${S}"/Module.symvers "${S}"/System.map "${S}"/include/linux/version.h "${WORKDIR}"
touch "${S}"/Module.symvers "${S}"/System.map "${S}"/include/linux/version.h cp /usr/src/linux/Module.symvers /usr/src/linux/System.map /usr/src/linux/include/linux/version.h "${WORKDIR}"
cp "${S}"/Module.symvers "${S}"/System.map "${S}"/include/linux/version.h "${WORKDIR}"
# Buffalo Boxes have a special naming and start address # Buffalo Boxes have a special naming and start address
if [ "${K_NASKERNEL_TYPE}" = "buffalo" ]; then if [ "${K_NASKERNEL_TYPE}" = "buffalo" ]; then