summaryrefslogtreecommitdiff
path: root/board/cpu86
diff options
context:
space:
mode:
Diffstat (limited to 'board/cpu86')
-rw-r--r--board/cpu86/Makefile2
-rw-r--r--board/cpu86/u-boot.lds6
2 files changed, 6 insertions, 2 deletions
diff --git a/board/cpu86/Makefile b/board/cpu86/Makefile
index 35b84288da6..7a2014d466d 100644
--- a/board/cpu86/Makefile
+++ b/board/cpu86/Makefile
@@ -28,7 +28,7 @@ LIB = lib$(BOARD).a
OBJS = $(BOARD).o flash.o
$(LIB): .depend $(OBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
#########################################################################
diff --git a/board/cpu86/u-boot.lds b/board/cpu86/u-boot.lds
index 9d56f13a021..ce6c4540d07 100644
--- a/board/cpu86/u-boot.lds
+++ b/board/cpu86/u-boot.lds
@@ -94,6 +94,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 = .;
@@ -116,4 +121,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-