aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter10/kernel.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index a633f7c46..51c1d2cce 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -291,6 +291,14 @@
configuration menus and create the kernel configuration from
scratch.</para>
+ <para>Fix an issue causing all kernel modules built with Binutils-2.41
+ or later not loadable:</para>
+
+<screen><userinput remap="pre">cat &gt;&gt; arch/loongarch/Makefile &lt;&lt; EOF
+<literal>KBUILD_AFLAGS_MODULE += -Wa,-mno-relax
+KBUILD_CFLAGS_MODULE += -Wa,-mno-relax</literal>
+EOF</userinput></screen>
+
<para>Compile the kernel image and modules:</para>
<screen><userinput remap="make">make</userinput></screen>