diff options
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r-- | meta/classes/module.bbclass | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index 4098644c71..e8d32eb3f4 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass | |||
@@ -3,17 +3,6 @@ DEPENDS += "virtual/kernel" | |||
3 | 3 | ||
4 | inherit module-base | 4 | inherit module-base |
5 | 5 | ||
6 | # | ||
7 | # Ensure the hostprogs are available for module compilation. Modules that | ||
8 | # inherit this recipe and override do_compile() should be sure to call | ||
9 | # do_make_scripts() or ensure the scripts are built independently. | ||
10 | # | ||
11 | do_make_scripts() { | ||
12 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS | ||
13 | oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \ | ||
14 | -C ${STAGING_KERNEL_DIR} scripts | ||
15 | } | ||
16 | |||
17 | addtask make_scripts before do_compile | 6 | addtask make_scripts before do_compile |
18 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | 7 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" |
19 | do_make_scripts[deptask] = "do_populate_sysroot" | 8 | do_make_scripts[deptask] = "do_populate_sysroot" |