]> git.ipfire.org Git - oddments/ipfire-netboot.git/blame_incremental - Makefile
Make more images.
[oddments/ipfire-netboot.git] / Makefile
... / ...
CommitLineData
1
2SCRIPTS = $(CURDIR)/ipfireboot.gpxe
3
4TARGETS = bin/gpxe.iso bin/gpxe.kpxe bin/undionly.kpxe bin/gpxe.dsk \
5 bin/gpxe.usb bin/gpxe.lkrn
6
7all: $(TARGETS)
8
9clean:
10 rm -rfv $(TARGETS)
11 make -C gpxe/src clean
12
13$(TARGETS):
14 # Copy our configuration to the gPXE submodule
15 cp -vf config/* gpxe/src/config/local/
16
17 # Build the image
18 make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@
19
20 # Copy the image to bin/
21 -mkdir -pv $$(dirname $@)
22 cp -vf gpxe/src/$@ $@