Automatically patch linux backports to build against linux-okreader

feature/booting-external-microsd
Cosmin Gorgovan 8 years ago
parent f5eefd5f78
commit c34e0f1f39

@ -86,6 +86,7 @@ compile_linux_modules() {
make -j$(($(nproc)+1)) modules
cd ../../
patch -N -p1 < src/linux_backports.patch
cd src/backports-3.14.22-1
KLIB_BUILD=../linux/ make defconfig-brcmfmac
KLIB_BUILD=../linux/ make -j$(($(nproc)+1))

@ -0,0 +1,13 @@
--- a/src/backports-3.14.22-1/backport-include/linux/compat.h
+++ b/src/backports-3.14.22-1/backport-include/linux/compat.h
@@ -14,8 +14,8 @@
#endif
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0))
-#define compat_put_timespec LINUX_BACKPORT(compat_put_timespec)
-extern int compat_put_timespec(const struct timespec *, void __user *);
+//#define compat_put_timespec LINUX_BACKPORT(compat_put_timespec)
+//extern int compat_put_timespec(const struct timespec *, void __user *);
#endif
#endif /* __BACKPORT_COMPAT_H */
Loading…
Cancel
Save