Skip to contentSkip to conversation

autobuild-run: add br-sh4-full-2015.05/opencv exception

Buildroot Applied Samuel Martin 2 participants 2 messages Jun 25, 2015 – Jul 4, 2015

lore
Share & tools
lore
#0 lore raw

Avoid the following build failures:

/tmp/ccCR4s15.s: Assembler messages:
/tmp/ccCR4s15.s:19880: Error: pcrel too far

---
This patch is related to this series:
http://lists.busybox.net/pipermail/buildroot/2015-June/130838.html

---
 scripts/autobuild-run | 4 ++++
 1 file changed, 4 insertions(+)
scripts/autobuild-run +4 -0
index 340cb63..9388795 100755
@@ -475,6 +475,10 @@ def fixup_config(**kwargs):
     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
+    # This sh4 toolchain fails to build opencv package
+    if 'BR2_PACKAGE_OPENCV=y\n' in configlines and \
+       'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-sh4-full-2015.05.tar.bz2"\n' in configlines:
+        return False
 
     with open(os.path.join(outputdir, ".config"), "w+") as configf:
         configf.writelines(configlines)
Signature · 1 line
2.4.4
#1 lore raw

Dear Samuel Martin,

Quoted 5 lines · Samuel Martin

Avoid the following build failures:

/tmp/ccCR4s15.s: Assembler messages:
/tmp/ccCR4s15.s:19880: Error: pcrel too far

Quoted 8 lines

---
This patch is related to this series:
http://lists.busybox.net/pipermail/buildroot/2015-June/130838.html

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

Applied, thanks.

Thomas

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