summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch')
-rw-r--r--meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch b/meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch
new file mode 100644
index 0000000000..69cb75891d
--- /dev/null
+++ b/meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch
@@ -0,0 +1,22 @@
1---
2 cpu/arm920t/config.mk | 4 ++--
3 1 file changed, 2 insertions(+), 2 deletions(-)
4
5--- u-boot-1.3.2.orig/cpu/arm920t/config.mk
6+++ u-boot-1.3.2/cpu/arm920t/config.mk
7@@ -22,13 +22,13 @@
8 #
9
10 PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
11 -msoft-float
12
13-PLATFORM_CPPFLAGS += -march=armv4
14+#PLATFORM_CPPFLAGS += -march=armv4
15 # =========================================================================
16 #
17 # Supply options according to compiler version
18 #
19 # =========================================================================
20-PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
21+PLATFORM_CPPFLAGS +=$(call cc-option)
22 PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))