run modules_prepare in the kernel tree before unionfs modules compile

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@236 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent fb4e99d2e9
commit 28f45d727f

@ -271,6 +271,11 @@ compile_unionfs_modules() {
sed -i Makefile -e "s|LINUXSRC =.*|LINUXSRC =${KERNEL_DIR}|g"
if [ "${PAT}" -ge '6' ]
then
# Setup the kernel sources to compile modules
cd ${KERNEL_DIR}
compile_generic "modules_prepare" kernel
cd "${UNIONFS_DIR}"
compile_generic unionfs2.6 kernel
else
compile_generic unionfs2.4 kernel

Loading…
Cancel
Save