diff --git a/fcu/bcm/mk/Make.exec b/fcu/bcm/mk/Make.exec index ff05dde..44458e4 100755 --- a/fcu/bcm/mk/Make.exec +++ b/fcu/bcm/mk/Make.exec @@ -19,7 +19,7 @@ LD_INFO_OPTS := -Wl,--warn-common -Wl,-Map,${OUTDIR}/${exec}.map -Wl,--verbose endif -$(targetexec): $(BLDDIR)/.tree $(OUTDIR)/strip/.tree ${LD_O_FILES} +$(targetexec): $(BLDDIR)/.tree $(OUTDIR)/strip/.tree ${LD_O_FILES} ${LD_A_FILES} @rm -f $@ # Prevent core dump if currently running @$(ECHO) "[$(target)] LINK $@" # This is needed for error parsing $(Q)$(CC) \ diff --git a/fcu/bcm/mk/Make.kmod b/fcu/bcm/mk/Make.kmod index a11b05e..2ce5323 100755 --- a/fcu/bcm/mk/Make.kmod +++ b/fcu/bcm/mk/Make.kmod @@ -27,7 +27,7 @@ endif build: $(BLD_MODBUILDIN) $(BLD_MOD_FINAL) -$(BLD_MODBUILDIN): $(BLDDIR)/.tree ${LD_O_FILES} +$(BLD_MODBUILDIN): $(BLDDIR)/.tree ${LD_O_FILES} ${LD_A_FILES} $(Q)rm -f $@ $(Q)$(ECHO) "[$(target)] LINK BLOB $(subst $(SDK)/,,$@)" $(Q)$(LD) -o $@ -L${LIBDIR} -r -d \