diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 4dec7b642..7761f4475 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -294,6 +294,13 @@ configuration menus and create the kernel configuration from scratch. + + Now fix an issue causing the kernel fail to build with Binutils + 2.42 on LoongArch: + +sed -e '/case EM_LOONG/aif (r_type == 100 || r_type == 102) continue;' \ + -i scripts/mod/modpost.c + Compile the kernel image and modules: make