From 5457c70d4f8f7a0496b159f2766b2ff8306b6281 Mon Sep 17 00:00:00 2001
From: j1nx
Date: Mon, 1 Jun 2020 16:39:45 +0200
Subject: [PATCH] Buildroot: No parallel build for wpewebkit. My build machine
is not powerfull enough memorywise
---
...ds-for-wpewebkit-to-prevent-memory-i.patch | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 buildroot-patches/0112-No-parallel-builds-for-wpewebkit-to-prevent-memory-i.patch
diff --git a/buildroot-patches/0112-No-parallel-builds-for-wpewebkit-to-prevent-memory-i.patch b/buildroot-patches/0112-No-parallel-builds-for-wpewebkit-to-prevent-memory-i.patch
new file mode 100644
index 00000000..90e41c4b
--- /dev/null
+++ b/buildroot-patches/0112-No-parallel-builds-for-wpewebkit-to-prevent-memory-i.patch
@@ -0,0 +1,24 @@
+From 1517c7c719f5cd5b03f643a2db792f9202929c22 Mon Sep 17 00:00:00 2001
+From: j1nx
+Date: Mon, 1 Jun 2020 16:36:17 +0200
+Subject: [PATCH 1/1] No parallel builds for wpewebkit (to prevent memory
+ issues at buildtime)
+
+---
+ package/wpewebkit/wpewebkit.mk | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk
+index a6124d3529..e54dcbdae8 100644
+--- a/package/wpewebkit/wpewebkit.mk
++++ b/package/wpewebkit/wpewebkit.mk
+@@ -72,4 +72,6 @@ ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
+ WPEWEBKIT_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON
+ endif
+
++WPEWEBKIT_MAKE=$(MAKE1)
++
+ $(eval $(cmake-package))
+--
+2.20.1
+