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