summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-06-14 00:14:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 18:10:10 +0100
commita26ec548aabda74acfdd1e2893b98b47bc513b15 (patch)
treeba23c2e8eba86e7990f91d9e01959ac059dce95a
parent2fdf06fbe986d742f6bb13e9348b50e9aab03139 (diff)
downloadopenembedded-core-contrib-a26ec548aabda74acfdd1e2893b98b47bc513b15.tar.gz
openembedded-core-contrib-a26ec548aabda74acfdd1e2893b98b47bc513b15.tar.bz2
openembedded-core-contrib-a26ec548aabda74acfdd1e2893b98b47bc513b15.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index dcf8bae042..59bbbe8ad5 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
-