]>
git.ipfire.org Git - oddments/ipfire-netboot.git/blob - Makefile
4 SCRIPTS
= $(CURDIR
)/ipfireboot.ipxe
5 MACHINE
= $(shell uname
-m
)
7 TARGETS
= bin
/ipxe.iso bin
/ipxe.kpxe bin
/undionly.kpxe bin
/ipxe.dsk \
8 bin
/ipxe.usb bin
/ipxe.lkrn
10 ifeq "$(MACHINE)" "x86_64"
11 TARGETS
+= bin-x86_64-efi
/ipxe.efi
18 rm -rfv
$(SCRIPTS
) $(TARGETS
)
19 make
-C ipxe
/src
clean veryclean
22 sed
-e
"s/@VERSION@/$(VERSION)/g" \
25 $(TARGETS
): $(SCRIPTS
) config
/branding.h config
/general.h
26 # Copy our configuration to the gPXE submodule
27 cp
-vf config
/* ipxe
/src
/config
/local
/
30 make
-C ipxe
/src EMBED
=$(SCRIPTS
) NO_WERROR
=1 \
31 ISOLINUX_BIN
=/usr
/share
/syslinux
/isolinux.bin
$@
33 # Copy the image to bin/
34 -mkdir
-pv
$$(dirname
$@
)