Skip to contentSkip to conversation

autobuild-run: Do not build rt-test with external MIPS uClibc

PATCH New Vincent Olivert Riera 2 participants 2 messages Oct 12, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autobuild-run: Do not build rt-test with external MIPS uClibc

We do not allow some external MIPS uClibc toolchains to build the rt-tests package because they do not have the necessary fixes applied.

Related:
http://git.buildroot.net/buildroot/commit/?id=af9d0442cdc8d10e1be55beb02d422194c94a6f9
http://git.buildroot.net/buildroot/commit/?id=a47d19d41055da20139d532a253108e9b17c7950
http://git.buildroot.net/buildroot/commit/?id=398e590e2d55668e9ef7420cc274f0afdd174684

---
 scripts/autobuild-run | 8 ++++++++
 1 file changed, 8 insertions(+)
scripts/autobuild-run +8 -0
index 7497001..02ed668 100755
@@ -284,6 +284,14 @@ def fixup_config(instance, sysinfo):
     if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines:
         configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n')
         configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n')
+    # This MIPS uClibc toolchain fails to build the rt-tests package
+    if 'BR2_PACKAGE_RT_TESTS=y\n' in configlines and \
+       'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-mipsel-o32-full-2014.08.tar.bz2"\n' in configlines:
+        return False
+    # This MIPS uClibc toolchain fails to build the rt-tests package
+    if 'BR2_PACKAGE_RT_TESTS=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:
         configf.writelines(configlines)
Signature · 1 line
2.0.4
#1 lore raw

PATCH 1/1 autobuild-run: Do not build rt-test with external MIPS uClibc

Dear Vincent Olivert Riera,

Quoted 8 lines · Vincent Olivert Riera

We do not allow some external MIPS uClibc toolchains to build the rt-tests package because they do not have the necessary fixes applied.

Related:
http://git.buildroot.net/buildroot/commit/?id=af9d0442cdc8d10e1be55beb02d422194c94a6f9
http://git.buildroot.net/buildroot/commit/?id=a47d19d41055da20139d532a253108e9b17c7950
http://git.buildroot.net/buildroot/commit/?id=398e590e2d55668e9ef7420cc274f0afdd174684

Quoted 4 lines
---
 scripts/autobuild-run | 8 ++++++++
 1 file changed, 8 insertions(+)

Thanks, applied.

Peter, Maxime, Nathaniel, Richard, please remember to update your autobuild-run script to take into account this change.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com