diff options
Diffstat (limited to 'lib_microblaze')
-rw-r--r-- | lib_microblaze/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib_microblaze/Makefile b/lib_microblaze/Makefile index 9b317a2..141b082 100644 --- a/lib_microblaze/Makefile +++ b/lib_microblaze/Makefile @@ -25,12 +25,15 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(ARCH).a -SOBJS = +SOBJS-y += -COBJS = board.o bootm.o time.o cache.o +COBJS-y += board.o +COBJS-y += bootm.o +COBJS-y += cache.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) |