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