mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Revert "loongarch: kernel: Disable relaxation for building a module"
This reverts commit c4b61b12df
.
These lines has been already added into the kernel since 6.6.
This commit is contained in:
parent
db880b9629
commit
9ef0338a7b
@ -294,14 +294,6 @@
|
||||
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 >> arch/loongarch/Makefile << 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>
|
||||
|
Loading…
Reference in New Issue
Block a user