summaryrefslogtreecommitdiffstats
path: root/board/gw8260
diff options
context:
space:
mode:
Diffstat (limited to 'board/gw8260')
-rw-r--r--board/gw8260/Makefile2
-rw-r--r--board/gw8260/u-boot.lds6
2 files changed, 6 insertions, 2 deletions
diff --git a/board/gw8260/Makefile b/board/gw8260/Makefile
index fb50b38..827a6ac 100644
--- a/board/gw8260/Makefile
+++ b/board/gw8260/Makefile
@@ -29,7 +29,7 @@ OBJS := gw8260.o flash.o
SOBJS :=
$(LIB): $(OBJS) $(SOBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
clean:
rm -f $(SOBJS) $(OBJS)
diff --git a/board/gw8260/u-boot.lds b/board/gw8260/u-boot.lds
index 6db9a67..32e8f39 100644
--- a/board/gw8260/u-boot.lds
+++ b/board/gw8260/u-boot.lds
@@ -93,6 +93,11 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
+ __u_boot_cmd_start = .;
+ .u_boot_cmd : { *(.u_boot_cmd) }
+ __u_boot_cmd_end = .;
+
+
__start___ex_table = .;
__ex_table : { *(__ex_table) }
__stop___ex_table = .;
@@ -115,4 +120,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-