]>
Commit | Line | Data |
---|---|---|
65b36ef7 | 1 | |
37ab6e11 | 2 | SCRIPTS = $(CURDIR)/ipfireboot.ipxe |
65b36ef7 | 3 | |
37ab6e11 MT |
4 | TARGETS = bin/ipxe.iso bin/ipxe.kpxe bin/undionly.kpxe bin/ipxe.dsk \ |
5 | bin/ipxe.usb bin/ipxe.lkrn | |
6c2c5968 MT |
6 | |
7 | all: $(TARGETS) | |
8 | ||
9 | clean: | |
10 | rm -rfv $(TARGETS) | |
37ab6e11 | 11 | make -C ipxe/src clean veryclean |
6c2c5968 MT |
12 | |
13 | $(TARGETS): | |
cc25416a | 14 | # Copy our configuration to the gPXE submodule |
37ab6e11 | 15 | cp -vf config/* ipxe/src/config/local/ |
cc25416a MT |
16 | |
17 | # Build the image | |
37ab6e11 MT |
18 | make -C ipxe/src EMBED=$(SCRIPTS) NO_WERROR=1 \ |
19 | ISOLINUX_BIN=/usr/share/syslinux/isolinux.bin $@ | |
cc25416a MT |
20 | |
21 | # Copy the image to bin/ | |
6c2c5968 | 22 | -mkdir -pv $$(dirname $@) |
37ab6e11 | 23 | cp -vf ipxe/src/$@ $@ |