summaryrefslogtreecommitdiff
path: root/package/arcboot/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-17 20:15:56 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-17 20:16:25 +0100
commit2c564b6fc8d396c5b56eab073d5ac89fc6b3cce1 (patch)
tree4eb4c3e670137304f4f3b095b59d4c5aafed5cee /package/arcboot/patches/patch-Makefile
parent076d984ad05b3bc5f454859b5e3a80c9b7459808 (diff)
arcboot: new package, bootloader for SGI
Diffstat (limited to 'package/arcboot/patches/patch-Makefile')
-rw-r--r--package/arcboot/patches/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/arcboot/patches/patch-Makefile b/package/arcboot/patches/patch-Makefile
new file mode 100644
index 000000000..70d9bd2f2
--- /dev/null
+++ b/package/arcboot/patches/patch-Makefile
@@ -0,0 +1,20 @@
+--- arcboot.orig/Makefile 2011-06-16 23:12:30.000000000 +0200
++++ arcboot/Makefile 2017-01-07 21:53:02.887705156 +0100
+@@ -5,7 +5,7 @@
+ #
+
+ # default subarch
+-SUBARCH ?= IP22
++SUBARCH ?= IP32
+
+ ifeq ($(SUBARCH),IP22)
+ KERNELADDR=0x88002000
+@@ -19,7 +19,7 @@ KERNELADDR=0x80004000
+ MAXLOADSIZE=0x1400000
+ LOADADDR=0x81404000
+ TIP_LOADADDR=$(LOADADDR)
+-OUTPUTFORMAT=elf32-tradbigmips
++OUTPUTFORMAT=elf64btsmip
+ endif
+
+ # these contain subarch independent files