• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/guile/0001-fix_arm_endianness.patch
Samuel MartinSamuel Martin committed dd1f5ad97c613 Dec 2014
Raw file
Source viewDiff to previous
 
1
Fix support for ARM endianness, otherwise it gives the error
2
"unknown CPU endianness"
3
​
4
Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
5
​
6
diff -Nau guile-2.0.11.orig/module/system/base/target.scm guile-2.0.11/module/system/base/target.scm
7
--- guile-2.0.11.orig/module/system/base/target.scm 2013-02-28 09:42:45.000000000 +0100
8
+++ guile-2.0.11/module/system/base/target.scm  2014-11-03 23:05:01.789338997 +0100
9
@@ -70,7 +70,15 @@
10
             ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
11
                            "mips" "mips64"))
12
              (endianness big))
13
-            ((string-match "^arm.*el" cpu)
14
+            ((string-match "^arm.*el" cpu)
15
+             (endianness little))
16
+            ((string-match "^arm.*eb" cpu)
17
+             (endianness big))
18
+            ((string-prefix? "arm" cpu)          ;ARMs are LE by default
19
+             (endianness little))
20
+            ((string-match "^aarch64.*be" cpu)
21
+             (endianness big))
22
+            ((string=? "aarch64" cpu)
23
              (endianness little))
24
             (else
25
              (error "unknown CPU endianness" cpu)))))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.