diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-02-27 11:00:47 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-02-27 11:00:47 +0100 |
commit | 823afe7cefe00dafefc6696c1cc7aa828c394234 (patch) | |
tree | b54769a88dfa214ed819dc45ce14b99a30e6f3c8 /lib_ppc | |
parent | 6f0f9dfc4ee880fbf400a2ebe14238181a6c3f91 (diff) | |
download | u-boot-midas-823afe7cefe00dafefc6696c1cc7aa828c394234.tar.gz u-boot-midas-823afe7cefe00dafefc6696c1cc7aa828c394234.tar.bz2 u-boot-midas-823afe7cefe00dafefc6696c1cc7aa828c394234.zip |
[Makefile] Sort COBJS in lib_<arch> Makefiles
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/lib_ppc/Makefile b/lib_ppc/Makefile index 61507b038f..3d76b700e2 100644 --- a/lib_ppc/Makefile +++ b/lib_ppc/Makefile @@ -25,14 +25,21 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(ARCH).a -SOBJS = ppccache.o ppcstring.o ticks.o - -COBJS = board.o \ - bat_rw.o cache.o extable.o kgdb.o time.o interrupts.o \ - bootm.o - -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) +SOBJS-y += ppccache.o +SOBJS-y += ppcstring.o +SOBJS-y += ticks.o + +COBJS-y += bat_rw.o +COBJS-y += board.o +COBJS-y += bootm.o +COBJS-y += cache.o +COBJS-y += extable.o +COBJS-y += interrupts.o +COBJS-y += kgdb.o +COBJS-y += time.o + +SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) $(LIB): $(obj).depend $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS) |