diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 5e8b6cf343..b75a462180 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -217,6 +217,14 @@ do_compile_kernelmodules() { | |||
217 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE | 217 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
218 | if (grep -q -i -e '^CONFIG_MODULES=y$' ${B}/.config); then | 218 | if (grep -q -i -e '^CONFIG_MODULES=y$' ${B}/.config); then |
219 | oe_runmake -C ${B} ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} | 219 | oe_runmake -C ${B} ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} |
220 | |||
221 | # Module.symvers gets updated during the | ||
222 | # building of the kernel modules. We need to | ||
223 | # update this in the shared workdir since some | ||
224 | # external kernel modules has a dependency on | ||
225 | # other kernel modules and will look at this | ||
226 | # file to do symbol lookups | ||
227 | cp Module.symvers ${STAGING_KERNEL_BUILDDIR}/ | ||
220 | else | 228 | else |
221 | bbnote "no modules to compile" | 229 | bbnote "no modules to compile" |
222 | fi | 230 | fi |