|
@@ -106,14 +106,14 @@ NON_AUTO_MEDIA += fd0
|
106
|
106
|
$(Q)sync
|
107
|
107
|
|
108
|
108
|
# Special target for building Master Boot Record binary
|
109
|
|
-$(BIN)/mbr.bin : $(BIN)/mbr.o
|
|
109
|
+$(BIN)/mbr.tmp : $(BIN)/mbr.o
|
110
|
110
|
$(QM)$(ECHO) " [LD] $@"
|
111
|
|
- $(Q)$(LD) $(LDFLAGS) -o $@ --oformat binary -e 0 $<
|
|
111
|
+ $(Q)$(LD) $(LDFLAGS) -o $@ -e mbr $<
|
112
|
112
|
|
113
|
113
|
# rule to make a USB disk image
|
114
|
|
-$(BIN)/usbdisk.bin : $(BIN)/usbdisk.o
|
|
114
|
+$(BIN)/usbdisk.tmp : $(BIN)/usbdisk.o
|
115
|
115
|
$(QM)$(ECHO) " [LD] $@"
|
116
|
|
- $(Q)$(LD) $(LDFLAGS) -o $@ --oformat binary -e 0 $<
|
|
116
|
+ $(Q)$(LD) $(LDFLAGS) -o $@ -e mbr $<
|
117
|
117
|
|
118
|
118
|
NON_AUTO_MEDIA += usb
|
119
|
119
|
%usb: $(BIN)/usbdisk.bin %hd
|