diff options
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r-- | meta/classes/module.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index 572df0d295..53c16b7389 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass | |||
@@ -14,8 +14,11 @@ do_make_scripts() { | |||
14 | -C ${STAGING_KERNEL_DIR} scripts | 14 | -C ${STAGING_KERNEL_DIR} scripts |
15 | } | 15 | } |
16 | 16 | ||
17 | addtask make_scripts before do_compile | ||
18 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
19 | do_make_scripts[deptask] = "do_populate_sysroot" | ||
20 | |||
17 | module_do_compile() { | 21 | module_do_compile() { |
18 | do_make_scripts | ||
19 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | 22 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS |
20 | oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ | 23 | oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \ |
21 | KERNEL_SRC=${STAGING_KERNEL_DIR} \ | 24 | KERNEL_SRC=${STAGING_KERNEL_DIR} \ |