diff options
Diffstat (limited to 'system/easy-kernel/APKBUILD')
-rw-r--r-- | system/easy-kernel/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/system/easy-kernel/APKBUILD b/system/easy-kernel/APKBUILD index 35fb73960..2a3903b73 100644 --- a/system/easy-kernel/APKBUILD +++ b/system/easy-kernel/APKBUILD @@ -47,8 +47,13 @@ build() { make LDFLAGS="" cd "$srcdir/linux-src" - make LDFLAGS="" modules_prepare + make LDFLAGS="" modules_prepare clean cp "$builddir/Module.symvers" . + + # Kernel bug: crtsavres.o is required to build modules, but modules_prepare doesn't create it. + if [ $CARCH = ppc ]; then + cp "$builddir/arch/powerpc/lib/crtsavres.o" arch/powerpc/lib/ + fi } package() { |