summaryrefslogtreecommitdiff
path: root/board/lantec
diff options
context:
space:
mode:
Diffstat (limited to 'board/lantec')
-rw-r--r--board/lantec/Makefile2
-rw-r--r--board/lantec/u-boot.lds6
-rw-r--r--board/lantec/u-boot.lds.debug6
3 files changed, 11 insertions, 3 deletions
diff --git a/board/lantec/Makefile b/board/lantec/Makefile
index 35b8428..7a2014d 100644
--- a/board/lantec/Makefile
+++ b/board/lantec/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/lantec/u-boot.lds b/board/lantec/u-boot.lds
index ab3beb7..1f8581c 100644
--- a/board/lantec/u-boot.lds
+++ b/board/lantec/u-boot.lds
@@ -109,6 +109,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 = .;
@@ -131,4 +136,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-
diff --git a/board/lantec/u-boot.lds.debug b/board/lantec/u-boot.lds.debug
index fd3a1c6..c64087d 100644
--- a/board/lantec/u-boot.lds.debug
+++ b/board/lantec/u-boot.lds.debug
@@ -106,6 +106,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 = .;
@@ -128,4 +133,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-