[syslinux:master] gpxelinux: Add new gpxelinuxk.0 target and pxelinuxk.gpxe script

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Thu Mar 17 15:27:17 PDT 2011


Commit-ID:  968ffed7e02fb82277cdf9d50724211f4d44810b
Gitweb:     http://syslinux.zytor.com/commit/968ffed7e02fb82277cdf9d50724211f4d44810b
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Mon, 14 Feb 2011 20:46:07 -0500
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Mon, 14 Feb 2011 20:46:07 -0500

gpxelinux: Add new gpxelinuxk.0 target and pxelinuxk.gpxe script



---
 gpxe/Makefile                          |    9 ++++++++-
 gpxe/{pxelinux.gpxe => pxelinuxk.gpxe} |    2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gpxe/Makefile b/gpxe/Makefile
index b079d53..7d10088 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/pxelinux.gpxe b/gpxe/pxelinuxk.gpxe
similarity index 75%
copy from gpxe/pxelinux.gpxe
copy to gpxe/pxelinuxk.gpxe
index c267d13..2f1e59a 100644
--- a/gpxe/pxelinux.gpxe
+++ b/gpxe/pxelinuxk.gpxe
@@ -1,5 +1,5 @@
 #!gpxe
-set use-cached 1
+set use-cached 0
 dhcp net0
 imgload pxelinux.0
 boot pxelinux.0



More information about the Syslinux-commits mailing list