]> git.ipfire.org Git - oddments/ipfire-netboot.git/blobdiff - Makefile
Make more images.
[oddments/ipfire-netboot.git] / Makefile
index 06a2a631f9c500d6826a4c3112c47914f8f8bbdd..a761c34f5b674aa29a0902c57623a578bf1989f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
 
 SCRIPTS = $(CURDIR)/ipfireboot.gpxe
 
-TARGETS = bin/gpxe.iso bin/gpxe.kpxe bin/undionly.kpxe
+TARGETS = bin/gpxe.iso bin/gpxe.kpxe bin/undionly.kpxe bin/gpxe.dsk \
+       bin/gpxe.usb bin/gpxe.lkrn
 
 all: $(TARGETS)
 
@@ -10,6 +11,12 @@ clean:
        make -C gpxe/src clean
 
 $(TARGETS):
+       # Copy our configuration to the gPXE submodule
+       cp -vf config/* gpxe/src/config/local/
+
+       # Build the image
        make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@
+
+       # Copy the image to bin/
        -mkdir -pv $$(dirname $@)
        cp -vf gpxe/src/$@ $@