summaryrefslogtreecommitdiffstats
path: root/meta/classes/module.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-09-25 12:55:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:13:34 +0100
commit0aad4662769530ef3ea045b6ba1afec7cc3f3055 (patch)
tree37bb1e3fdc955408eb411cf24272e95e7b87eb90 /meta/classes/module.bbclass
parentc942d527ccce73339cefcabcc299f999a952a17b (diff)
downloadpoky-0aad4662769530ef3ea045b6ba1afec7cc3f3055.tar.gz
module.bbclass: Move do_make_scripts() to module-base
It's sometimes useful to have this function available to recipes which don't wish to use module.bbclass for whatever reason. (From OE-Core rev: 7632b44e7f487180811d47fbe9c29aa8e58868a2) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r--meta/classes/module.bbclass11
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
4inherit module-base 4inherit 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#
11do_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
17addtask make_scripts before do_compile 6addtask make_scripts before do_compile
18do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" 7do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
19do_make_scripts[deptask] = "do_populate_sysroot" 8do_make_scripts[deptask] = "do_populate_sysroot"