diff options
Diffstat (limited to 'lib_blackfin/Makefile')
-rw-r--r-- | lib_blackfin/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib_blackfin/Makefile b/lib_blackfin/Makefile index 46ef7f33169..e32ecc92d35 100644 --- a/lib_blackfin/Makefile +++ b/lib_blackfin/Makefile @@ -47,9 +47,12 @@ COBJS-y += string.o SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) -$(LIB): $(obj).depend $(OBJS) +$(LIB): $(obj).depend $(OBJS) $(obj)u-boot.lds $(AR) $(ARFLAGS) $@ $(OBJS) +$(obj)u-boot.lds: u-boot.lds.S + $(CPP) $(CPPFLAGS) -D__ASSEMBLY__ -P $^ > $@ + ######################################################################### # defines $(obj).depend target |