Skip to content

Commit

Permalink
fix makefile, for ld libs
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang jianjun committed Apr 6, 2011
1 parent 3e2cc77 commit b0d3776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ $(OUTDIR)/$(XBOOT).bin: $(OUTDIR)/$(XBOOT).elf

$(OUTDIR)/$(XBOOT).elf: $(OBJS)
@echo [LD] linking $@
@$(CC) $(LDFLAGS) $(LIBDIRS) $(LIBS) -Wl,--cref,-Map=$(OUTDIR)/$(XBOOT).map $^ -o $@
@$(CC) $(LDFLAGS) $(LIBDIRS) -Wl,--cref,-Map=$(OUTDIR)/$(XBOOT).map $^ -o $@ $(LIBS)

.obj/%.o: %.S
@echo [AS] $<
Expand Down

0 comments on commit b0d3776

Please sign in to comment.