summaryrefslogtreecommitdiff
path: root/gpxe
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2011-02-14 20:46:07 -0500
committerGene Cumm <gene.cumm@gmail.com>2011-02-14 20:46:07 -0500
commit968ffed7e02fb82277cdf9d50724211f4d44810b (patch)
tree73d7331f87a25f610c6e32ad71917cb07f745929 /gpxe
parent5c9308928dad6d68a3a46deab01cfe2177278d60 (diff)
downloadsyslinux-968ffed7e02fb82277cdf9d50724211f4d44810b.tar.gz
gpxelinux: Add new gpxelinuxk.0 target and pxelinuxk.gpxe script
Diffstat (limited to 'gpxe')
-rw-r--r--gpxe/Makefile9
-rw-r--r--gpxe/pxelinuxk.gpxe5
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