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