X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib_blackfin%2FMakefile;h=e32ecc92d355c84ca3084eedff882f9459324d61;hb=d6e8ed832b25d5db4fdd3fb91e73028e494dcd6e;hp=46ef7f33169ee876e66a0eac9139e88d448b19e3;hpb=1b33a62bf9301f9e1611a44865bf3d2c51198993;p=u-boot diff --git a/lib_blackfin/Makefile b/lib_blackfin/Makefile index 46ef7f3316..e32ecc92d3 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