<br><br>On Wednesday, November 27, 2013, Bruce Ashfield wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13-11-27 08:45 AM, Richard Purdie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The comment was originally written for module.bbclass and is now<br>
slightly misleading. This updates it to match the current code.<br>
</blockquote>
<br>
Acked-by: Bruce Ashfield <<a>bruce.ashfield@windriver.com</a>></blockquote><div><br></div><div>Looks ok </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Signed-off-by: Richard Purdie <<a>richard.purdie@linuxfoundation.org</a>><br>
---<br>
diff --git a/meta/classes/module-base.<u></u>bbclass b/meta/classes/module-base.<u></u>bbclass<br>
index 9dbb4b4..1589a90 100644<br>
--- a/meta/classes/module-base.<u></u>bbclass<br>
+++ b/meta/classes/module-base.<u></u>bbclass<br>
@@ -11,11 +11,8 @@ KERNEL_OBJECT_SUFFIX = ".ko"<br>
# kernel modules are generally machine specific<br>
PACKAGE_ARCH = "${MACHINE_ARCH}"<br>
<br>
-#<br>
-# Ensure the hostprogs are available for module compilation. Modules that<br>
-# inherit this recipe and override do_compile() should be sure to call<br>
-# do_make_scripts() or ensure the scripts are built independently.<br>
-#<br>
+# Function to ensure the kernel scripts are created. Expected to<br>
+# be called before do_compile. See module.bbclass for an exmaple.<br>
do_make_scripts() {<br>
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS<br>
make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \<br>
<br>
<br>
</blockquote>
<br>
</blockquote>