]> git.ipfire.org Git - oddments/ipfire-netboot.git/blob - Makefile
Migrate to iPXE.
[oddments/ipfire-netboot.git] / Makefile
1
2 SCRIPTS = $(CURDIR)/ipfireboot.ipxe
3
4 TARGETS = bin/ipxe.iso bin/ipxe.kpxe bin/undionly.kpxe bin/ipxe.dsk \
5 bin/ipxe.usb bin/ipxe.lkrn
6
7 all: $(TARGETS)
8
9 clean:
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/$@ $@