[Buildroot] [git commit branch/2019.02.x] package/libsvgtiny: disable parallel build

Peter Korsgaard peter at korsgaard.com
Mon Nov 18 12:53:17 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=2e91301c55960c0b5a702a20b8e621de8c2e4fbc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.x

Build can sometimes fails on:

src/svgtiny.c:21:10: fatal error: autogenerated_colors.c: No such file or directory
 #include "autogenerated_colors.c"
          ^~~~~~~~~~~~~~~~~~~~~~~~

because svgtiny.c does not properly depends on autogenerated_colors.c
that is built by gperf. So, just disable parallel build instead of
trying to fix this issue especially because libsvgtiny uses the netsurf
buildsystem

Fixes:
 - http://autobuild.buildroot.org/results/48e7a7f7c72634d59cca817778d31661bfe8e72f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 26d67a2599d6c88facd5178de853fa355244e7c2)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libsvgtiny/libsvgtiny.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libsvgtiny/libsvgtiny.mk b/package/libsvgtiny/libsvgtiny.mk
index febd3fcec8..fe7dc0a6d2 100644
--- a/package/libsvgtiny/libsvgtiny.mk
+++ b/package/libsvgtiny/libsvgtiny.mk
@@ -12,6 +12,8 @@ LIBSVGTINY_DEPENDENCIES = \
 	libxml2 host-gperf host-pkgconf host-netsurf-buildsystem
 LIBSVGTINY_LICENSE = MIT
 LIBSVGTINY_LICENSE_FILES = README
+# Package does not build in parallel due to improper make rules
+LIBSVGTINY_MAKE = $(MAKE1)
 
 # The libsvgtiny build system cannot build both the shared and static
 # libraries. So when the Buildroot configuration requests to build


More information about the buildroot mailing list