summaryrefslogtreecommitdiff
path: root/lib_mips
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-02-27 11:00:47 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-02-27 11:00:47 +0100
commit823afe7cefe00dafefc6696c1cc7aa828c394234 (patch)
treeb54769a88dfa214ed819dc45ce14b99a30e6f3c8 /lib_mips
parent6f0f9dfc4ee880fbf400a2ebe14238181a6c3f91 (diff)
downloadu-boot-imx-823afe7cefe00dafefc6696c1cc7aa828c394234.zip
u-boot-imx-823afe7cefe00dafefc6696c1cc7aa828c394234.tar.gz
u-boot-imx-823afe7cefe00dafefc6696c1cc7aa828c394234.tar.bz2
[Makefile] Sort COBJS in lib_<arch> Makefiles
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_mips')
-rw-r--r--lib_mips/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib_mips/Makefile b/lib_mips/Makefile
index 93cca7a..799eaf2 100644
--- a/lib_mips/Makefile
+++ b/lib_mips/Makefile
@@ -25,12 +25,14 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
-SOBJS =
+SOBJS-y +=
-COBJS = board.o time.o bootm.o
+COBJS-y += board.o
+COBJS-y += bootm.o
+COBJS-y += time.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
+SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)