Pārlūkot izejas kodu

Build the all-driver images by default, and print instructions for usage.

tags/v0.9.3
Michael Brown 17 gadus atpakaļ
vecāks
revīzija
5cda460f19
2 mainītis faili ar 18 papildinājumiem un 26 dzēšanām
  1. 17
    25
      src/Makefile
  2. 1
    1
      src/Makefile.housekeeping

+ 17
- 25
src/Makefile Parādīt failu

@@ -41,36 +41,28 @@ include arch/$(ARCH)/Config
41 41
 # If invoked with no build target, print out a helpfully suggestive
42 42
 # message.
43 43
 #
44
-noargs : blib $(BIN)/NIC
45
-	@echo '===================================================='
44
+noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk $(BIN)/gpxe.iso $(BIN)/gpxe.usb
45
+	@echo '==========================================================='
46 46
 	@echo
47
-	@echo ' *** WARNING: THE INSTRUCTIONS BELOW DO NOT FULLY WORK YET !!!  ***'
48
-	@echo ' ***                    PLEASE STAY TUNED                       ***' 
47
+	@echo 'To create a bootable floppy, type'
48
+	@echo '    cat $(BIN)/gpxe.dsk > /dev/fd0'
49
+	@echo 'where /dev/fd0 is your floppy drive.  This will erase any'
50
+	@echo 'data already on the disk.'
49 51
 	@echo
50
-	@echo 'No target specified. To specify a target, do: '
52
+	@echo 'To create a bootable USB key, type'
53
+	@echo '    cat $(BIN)/gpxe.usb > /dev/sdX'
54
+	@echo 'where /dev/sdX is your USB key, and is *not* a real hard'
55
+	@echo 'disk on your system.  This will erase any data already on'
56
+	@echo 'the USB key.'
51 57
 	@echo
52
-	@echo '    make bin/<rom-name>.<output-format> '
58
+	@echo 'To create a bootable CD-ROM, burn the ISO image '
59
+	@echo '$(BIN)/gpxe.iso to a blank CD-ROM.'
53 60
 	@echo
54
-	@echo 'where <output-format> is one of {$(MEDIA) }'
61
+	@echo 'These images contain drivers for all supported cards.  You'
62
+	@echo 'can build more customised images, and ROM images, using'
63
+	@echo '    make bin/<rom-name>.<output-format>'
55 64
 	@echo
56
-	@echo 'or: '
57
-	@echo
58
-	@echo '    make all<output-format>s'
59
-	@echo
60
-	@echo 'to generate all possible images of format <output-format>'
61
-	@echo
62
-	@echo 'For example, '
63
-	@echo
64
-	@echo '    make allroms '
65
-	@echo
66
-	@echo 'will generate all possible .rom (rom burnable) images, and'
67
-	@echo
68
-	@echo '    make alldsks'
69
-	@echo
70
-	@echo 'will generate all possible .dsk (bootable floppy) images, or'
71
-	@echo
72
-	@echo '===================================================='
73
-	@exit 1
65
+	@echo '==========================================================='
74 66
 
75 67
 # Locations of utilities
76 68
 #

+ 1
- 1
src/Makefile.housekeeping Parādīt failu

@@ -180,7 +180,7 @@ CLEANUP		+= $(BIN)/NIC
180 180
 # TGT_ROM_NAME : the ROM name (e.g. "dfe538")
181 181
 # TGT_MEDIA    : the media type (e.g. "rom")
182 182
 #
183
-DRIVERS_etherboot = $(DRIVERS)
183
+DRIVERS_gpxe	= $(DRIVERS)
184 184
 CARD_DRIVER	= $(firstword $(DRIVER_$(1)) $(1))
185 185
 TGT_ELEMENTS	= $(subst --, ,$(firstword $(subst ., ,$(notdir $@))))
186 186
 TGT_PREFIX	= $(word 2,$(subst ., ,$(notdir $@)))

Notiek ielāde…
Atcelt
Saglabāt