[Buildroot] [PATCH buildroot-test] autobuild-run: do not build weston using an incompatible toolchain

Vicente Olivert Riera Vincent.Riera at imgtec.com
Sat Mar 7 18:49:04 UTC 2015

This external MIPS toolchain uses an old version of uClibc which doesn't
include this patch:


Because of that, weston package fails to build with this error message:

src/compositor.c: In function
src/compositor.c:4283:3: error: 'CLOCK_MONOTONIC_RAW' undeclared (first
use in this function)
   CLOCK_MONOTONIC_RAW, /* no jumps, no crawling */



Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
 scripts/autobuild-run |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index a75006f..9a6d15b 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -324,6 +324,10 @@ def fixup_config(instance, sysinfo):
        'BR2_STATIC_LIBS=y\n' in configlines and \
        'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines:
         return False
+    # This MIPS uClibc toolchain fails to build the weston package
+    if 'BR2_PACKAGE_WESTON=y\n' in configlines and \
+       'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines:
+        return False
     with open(os.path.join(outputdir, ".config"), "w+") as configf:

More information about the buildroot mailing list