From 07b8eb8dfb44d5cb169f957b4c602c7e818750df Mon Sep 17 00:00:00 2001 From: Luis Ressel Date: Tue, 19 Feb 2019 22:10:26 +0100 Subject: system/easy-kernel: Clean unneccessary build artifacts, provide crtsaves.o --- system/easy-kernel/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'system/easy-kernel') 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() { -- cgit v1.2.3-70-g09d2