]>
git.ipfire.org Git - oddments/ipfire-netboot.git/blob - Makefile
1c6e8c0a73cf9a381a9e807940258a6c7ce3f8b3
2 SCRIPTS
= $(CURDIR
)/ipfireboot.ipxe
3 MACHINE
= $(shell uname
-m
)
5 TARGETS
= bin
/ipxe.iso bin
/ipxe.kpxe bin
/undionly.kpxe bin
/ipxe.dsk \
6 bin
/ipxe.usb bin
/ipxe.lkrn
8 ifeq "$(MACHINE)" "x86_64"
9 TARGETS
+= bin-x86_64-efi
/ipxe.efi
17 make
-C ipxe
/src
clean veryclean
19 $(TARGETS
): config
/branding.h config
/general.h
20 # Copy our configuration to the gPXE submodule
21 cp
-vf config
/* ipxe
/src
/config
/local
/
24 make
-C ipxe
/src EMBED
=$(SCRIPTS
) NO_WERROR
=1 \
25 ISOLINUX_BIN
=/usr
/share
/syslinux
/isolinux.bin
$@
27 # Copy the image to bin/
28 -mkdir
-pv
$$(dirname
$@
)