run modules_prepare in the kernel tree before unionfs modules compile
authorEric Edgar <rocket@gentoo.org>
Wed, 29 Jun 2005 19:39:13 +0000 (19:39 +0000)
committerEric Edgar <rocket@gentoo.org>
Wed, 29 Jun 2005 19:39:13 +0000 (19:39 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@236 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_compile.sh

index 5611c47e32f7b3237923c6f7a34eaa1861569daa..88d46d2d0d1cf3016ebaaf5020bb49766b05bbc2 100644 (file)
@@ -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