hack
This commit is contained in:
parent
cf2aef1a6f
commit
08aeff918f
@ -602,9 +602,6 @@ _kernel_src_compile() {
|
||||
emake mrproper
|
||||
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} \
|
||||
--kerneldir="${S}" \
|
||||
--kernel-config="${WORKDIR}"/config \
|
||||
@ -618,9 +615,8 @@ _kernel_src_compile() {
|
||||
all || die "genkernel failed"
|
||||
ARCH=${OLDARCH}
|
||||
|
||||
emake prepare
|
||||
touch "${S}"/Module.symvers "${S}"/System.map "${S}"/include/linux/version.h
|
||||
cp "${S}"/Module.symvers "${S}"/System.map "${S}"/include/linux/version.h "${WORKDIR}"
|
||||
#cp "${S}"/Module.symvers "${S}"/System.map "${S}"/include/linux/version.h "${WORKDIR}"
|
||||
cp /usr/src/linux/Module.symvers /usr/src/linux/System.map /usr/src/linux/include/linux/version.h "${WORKDIR}"
|
||||
|
||||
# Buffalo Boxes have a special naming and start address
|
||||
if [ "${K_NASKERNEL_TYPE}" = "buffalo" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user