diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-02-19 22:07:47 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-02-19 22:07:47 +0000 |
commit | 3e7e0ccf80173731eef6d51f8a261b6058bfad72 (patch) | |
tree | 5f403daafb1e77ff0b55a4d47d57685fde5f0b81 /system/easy-kernel/APKBUILD | |
parent | d20060d848281b819fba5ba4c2990b5a1ad144ce (diff) | |
parent | 07b8eb8dfb44d5cb169f957b4c602c7e818750df (diff) | |
download | packages-3e7e0ccf80173731eef6d51f8a261b6058bfad72.tar.gz packages-3e7e0ccf80173731eef6d51f8a261b6058bfad72.tar.bz2 packages-3e7e0ccf80173731eef6d51f8a261b6058bfad72.tar.xz packages-3e7e0ccf80173731eef6d51f8a261b6058bfad72.zip |
Merge branch 'easy-kernel' into 'master'
system/easy-kernel: Clean unneccessary build artifacts, provide crtsaves.o
See merge request !173
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() { |