summaryrefslogtreecommitdiffstats
path: root/lib_blackfin/Makefile
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_blackfin/Makefile
parent6f0f9dfc4ee880fbf400a2ebe14238181a6c3f91 (diff)
downloadu-boot-823afe7cefe00dafefc6696c1cc7aa828c394234.tar.gz
u-boot-823afe7cefe00dafefc6696c1cc7aa828c394234.tar.xz
u-boot-823afe7cefe00dafefc6696c1cc7aa828c394234.zip
[Makefile] Sort COBJS in lib_<arch> Makefiles
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_blackfin/Makefile')
-rw-r--r--lib_blackfin/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/lib_blackfin/Makefile b/lib_blackfin/Makefile
index ac3fb28553..dfaed6d02b 100644
--- a/lib_blackfin/Makefile
+++ b/lib_blackfin/Makefile
@@ -29,12 +29,21 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
-SOBJS = memcpy.o memcmp.o memset.o memmove.o
-
-COBJS = post.o tests.o board.o bootm.o bf533_string.o cache.o muldi3.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
+SOBJS-y += memcmp.o
+SOBJS-y += memcpy.o
+SOBJS-y += memmove.o
+SOBJS-y += memset.o
+
+COBJS-y += bf533_string.o
+COBJS-y += board.o
+COBJS-y += bootm.o
+COBJS-y += cache.o
+COBJS-y += muldi3.o
+COBJS-y += post.o
+COBJS-y += tests.o
+
+SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)