diff options
author | Ross Burton <ross.burton@intel.com> | 2016-06-14 00:14:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 18:11:09 +0100 |
commit | e2e6fe964defb0ac0d2850a0ddae0885c409981f (patch) | |
tree | d1b66611c9795e84cb1348d97b50244e0e5a4fca /meta | |
parent | 6f7a3dc284eba0478eaf301f90560bbaaa85ba9f (diff) | |
download | poky-e2e6fe964defb0ac0d2850a0ddae0885c409981f.tar.gz |
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.
(From OE-Core rev: a26ec548aabda74acfdd1e2893b98b47bc513b15)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
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() { | |||
291 | # external kernel modules has a dependency on | 291 | # external kernel modules has a dependency on |
292 | # other kernel modules and will look at this | 292 | # other kernel modules and will look at this |
293 | # file to do symbol lookups | 293 | # file to do symbol lookups |
294 | cp Module.symvers ${STAGING_KERNEL_BUILDDIR}/ | 294 | cp ${B}/Module.symvers ${STAGING_KERNEL_BUILDDIR}/ |
295 | else | 295 | else |
296 | bbnote "no modules to compile" | 296 | bbnote "no modules to compile" |
297 | fi | 297 | fi |
@@ -598,4 +598,3 @@ do_deploy[prefuncs] += "package_get_auto_pr" | |||
598 | addtask deploy after do_populate_sysroot | 598 | addtask deploy after do_populate_sysroot |
599 | 599 | ||
600 | EXPORT_FUNCTIONS do_deploy | 600 | EXPORT_FUNCTIONS do_deploy |
601 | |||