diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/module-base.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/module.bbclass | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass index 3eb2e9226e..8be26c4f5e 100644 --- a/meta/classes/module-base.bbclass +++ b/meta/classes/module-base.bbclass @@ -1,5 +1,8 @@ inherit kernel-arch +# This is instead of DEPENDS = "virtual/kernel" +do_configure[depends] += "virtual/kernel:do_shared_workdir" + export OS = "${TARGET_OS}" export CROSS_COMPILE = "${TARGET_PREFIX}" @@ -15,8 +18,6 @@ KERNEL_OBJECT_SUFFIX = ".ko" # kernel modules are generally machine specific PACKAGE_ARCH = "${MACHINE_ARCH}" -do_configure[depends] += "virtual/kernel:do_shared_workdir" - # Function to ensure the kernel scripts are created. Expected to # be called before do_compile. See module.bbclass for an exmaple. do_make_scripts() { diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index a03cc74de4..0952c0cca7 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass @@ -1,10 +1,8 @@ -DEPENDS += "virtual/kernel" - inherit module-base kernel-module-split addtask make_scripts after do_patch before do_compile do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" -do_make_scripts[deptask] = "do_populate_sysroot" +do_make_scripts[depends] += "virtual/kernel:do_shared_workdir" EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}" |