From 28f45d727f3c1eedf951dc2f6ffe1a8f60c3d5a3 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Wed, 29 Jun 2005 19:39:13 +0000 Subject: [PATCH] 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 --- gen_compile.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gen_compile.sh b/gen_compile.sh index 5611c47..88d46d2 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -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 -- 2.26.2