diff options
-rw-r--r-- | gpxe/Makefile | 9 | ||||
-rw-r--r-- | gpxe/pxelinuxk.gpxe | 5 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gpxe/Makefile b/gpxe/Makefile index b079d532..7d100887 100644 --- a/gpxe/Makefile +++ b/gpxe/Makefile @@ -17,7 +17,7 @@ # Very simple, really... # -TARGETS = gpxelinux.0 +TARGETS = gpxelinux.0 gpxelinuxk.0 all: $(TARGETS) @@ -39,3 +39,10 @@ src/bin/undionly.kkpxe: pxelinux.gpxe ../core/pxelinux.0 gpxelinux.0: src/bin/undionly.kkpxe cp -f $< $@ + +src/bin/undionly.kpxe: pxelinuxk.gpxe ../core/pxelinux.0 + $(MAKE) -C src bin/undionly.kpxe NO_WERROR=1 \ + EMBEDDED_IMAGE=../pxelinuxk.gpxe,../../core/pxelinux.0 + +gpxelinuxk.0: src/bin/undionly.kpxe + cp -f $< $@ diff --git a/gpxe/pxelinuxk.gpxe b/gpxe/pxelinuxk.gpxe new file mode 100644 index 00000000..2f1e59a0 --- /dev/null +++ b/gpxe/pxelinuxk.gpxe @@ -0,0 +1,5 @@ +#!gpxe +set use-cached 0 +dhcp net0 +imgload pxelinux.0 +boot pxelinux.0 |