|
@@ -98,6 +98,10 @@ MEDIA += com
|
98
|
98
|
|
99
|
99
|
MEDIA += exe
|
100
|
100
|
|
|
101
|
+# Special target for building Master Boot Record binary
|
|
102
|
+$(BIN)/mbr.bin : $(BIN)/mbr.o
|
|
103
|
+ $(OBJCOPY) -O binary $< $@
|
|
104
|
+
|
101
|
105
|
# Some suffixes (e.g. %.zfd0) are generated directly from other
|
102
|
106
|
# finished files (e.g. %.zdsk), rather than having their own prefix.
|
103
|
107
|
|
|
@@ -117,6 +121,13 @@ NON_AUTO_MEDIA += liso
|
117
|
121
|
%liso: %lilo util/genliso
|
118
|
122
|
bash util/genliso $@ $<
|
119
|
123
|
|
|
124
|
+# rule to make a USB disk image
|
|
125
|
+$(BIN)/usbdisk.bin : $(BIN)/usbdisk.o
|
|
126
|
+ $(OBJCOPY) -O binary $< $@
|
|
127
|
+
|
|
128
|
+%usb: $(BIN)/usbdisk.bin %hd
|
|
129
|
+ cat $^ > $@
|
|
130
|
+
|
120
|
131
|
# Add NON_AUTO_MEDIA to the media list, so that they show up in the
|
121
|
132
|
# output of "make"
|
122
|
133
|
#
|