summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2019-02-19 22:10:26 +0100
committerLuis Ressel <aranea@aixah.de>2019-02-19 23:02:46 +0100
commit07b8eb8dfb44d5cb169f957b4c602c7e818750df (patch)
treec9a91f0fe9aa6cd61fab880248d962504438f7d8 /system
parent9e4a1c4599679a9fabc5dd17580f899e0a72f546 (diff)
downloadpackages-07b8eb8dfb44d5cb169f957b4c602c7e818750df.tar.gz
packages-07b8eb8dfb44d5cb169f957b4c602c7e818750df.tar.bz2
packages-07b8eb8dfb44d5cb169f957b4c602c7e818750df.tar.xz
packages-07b8eb8dfb44d5cb169f957b4c602c7e818750df.zip
system/easy-kernel: Clean unneccessary build artifacts, provide crtsaves.o
Diffstat (limited to 'system')
-rw-r--r--system/easy-kernel/APKBUILD7
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() {