[oe-commits] [openembedded-core] 02/04: classes/kernel: remove path assumptions in compile_kernelmodules

git at git.openembedded.org git at git.openembedded.org
Wed Jun 15 17:11:29 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit a26ec548aabda74acfdd1e2893b98b47bc513b15
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Jun 14 00:14:06 2016 +0100

    classes/kernel: remove path assumptions in compile_kernelmodules
    
    do_compile_kernelmodules was assuming that the current directory was ${B} but
    didn't make that explicit, so use an absolute path to ensure this always works.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/kernel.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index dcf8bae..59bbbe8 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -291,7 +291,7 @@ do_compile_kernelmodules() {
 		# external kernel modules has a dependency on
 		# other kernel modules and will look at this
 		# file to do symbol lookups
-		cp Module.symvers ${STAGING_KERNEL_BUILDDIR}/
+		cp ${B}/Module.symvers ${STAGING_KERNEL_BUILDDIR}/
 	else
 		bbnote "no modules to compile"
 	fi
@@ -598,4 +598,3 @@ do_deploy[prefuncs] += "package_get_auto_pr"
 addtask deploy after do_populate_sysroot
 
 EXPORT_FUNCTIONS do_deploy
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list