X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=rules.mk;h=fa929f9f5078593affca9c5ca166bd3fa2d1403b;hb=989091acb02a58dba5e50a3eead168f50020a095;hp=22562f33da93e1829381e671318e09d5415d1142;hpb=47508843061b8dd9455ec86df00d56b462f2a5c9;p=u-boot diff --git a/rules.mk b/rules.mk index 22562f33da..fa929f9f50 100644 --- a/rules.mk +++ b/rules.mk @@ -38,7 +38,8 @@ DEPS := $(basename $(patsubst %,$(obj).depend.%,$(PWD_SRCS))) # 1 .Concatenate all the generated depend files together # 2. Add in the deps from OTHER_SRCS which we couldn't process # 3. Add in the HOSTSRCS -$(obj).depend: $(src)Makefile $(TOPDIR)/config.mk $(DEPS) $(HOSTSRCS) +$(obj).depend: $(src)Makefile $(TOPDIR)/config.mk $(DEPS) $(OTHER_SRCS) \ + $(HOSTSRCS) cat /dev/null $(DEPS) >$@ @for f in $(OTHER_SRCS); do \ g=`basename $$f | sed -e 's/\(.*\)\.[[:alnum:]_]/\1.o/'`; \