summaryrefslogtreecommitdiff
path: root/board/sbc8260
diff options
context:
space:
mode:
Diffstat (limited to 'board/sbc8260')
-rw-r--r--board/sbc8260/Makefile2
-rw-r--r--board/sbc8260/u-boot.lds6
2 files changed, 6 insertions, 2 deletions
diff --git a/board/sbc8260/Makefile b/board/sbc8260/Makefile
index 25c3bc1..14ed457 100644
--- a/board/sbc8260/Makefile
+++ b/board/sbc8260/Makefile
@@ -28,7 +28,7 @@ LIB = lib$(BOARD).a
OBJS := sbc8260.o flash.o
$(LIB): $(OBJS) $(SOBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
clean:
rm -f $(SOBJS) $(OBJS)
diff --git a/board/sbc8260/u-boot.lds b/board/sbc8260/u-boot.lds
index b4e502b..44224cb 100644
--- a/board/sbc8260/u-boot.lds
+++ b/board/sbc8260/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 = .);
}
-