correct bootstrap dependency

This commit is contained in:
Laurent Vivier 2007-02-02 22:27:58 +00:00
parent 46d18c90b4
commit ada6f874ba

View File

@ -143,11 +143,11 @@ bootstrap: bootstrapPPC.o
$(PPC_OBJCOPY) -j .text -j .data -j .rodata \
-O binary bootstrapPPC.o bootstrap
second: second.o bootstrap
second: second.o
$(OBJCOPY) -j .text -j .data -j .rodata -j .got -j .bootstrap \
-O binary second.o second
second.o: $(OBJS) $(TOP)/ld.script
second.o: $(OBJS) bootstrap $(TOP)/ld.script
$(OBJCOPY) --add-section .bootstrap=bootstrap main.o
$(LD) -T $(TOP)/ld.script -o second.o $(OBJS) $(LIBS)