summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-27 15:03:13 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-27 15:03:13 -0700
commit94d0e102ccb4c7bdf63eff16391b14fc547e4780 (patch)
tree3513fb3a42b75fcbca04d9568b10955e1b5b13fd
parente41337a1383fed062e1f40789a60cebadde390b6 (diff)
downloadsyslinux-94d0e102ccb4c7bdf63eff16391b14fc547e4780.tar.gz
gpxe: Separate rules for undionly.kpxe and gpxelinux.0
To avoid confusion during subdirectory make, make the undionly.kpxe -> gpxelinux.0 conversion an explicit rule.
-rw-r--r--gpxe/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gpxe/Makefile b/gpxe/Makefile
index 01d0de95..7568ea05 100644
--- a/gpxe/Makefile
+++ b/gpxe/Makefile
@@ -23,7 +23,7 @@ all: $(TARGETS)
tidy:
clean: tidy
- rm -f $(TARGETS)
+ rm -f $(TARGETS) src/bin/undionly.kpxe
dist:
$(MAKE) -C src veryclean > /dev/null 2>&1
@@ -32,6 +32,8 @@ spotless: clean dist
installer:
-gpxelinux.0: ../core/pxelinux.0
+src/bin/undionly.kpxe: ../core/pxelinux.0
$(MAKE) -C src EMBEDDED_IMAGE=../$< bin/undionly.kpxe
- cp -f src/bin/undionly.kpxe $@
+
+gpxelinux.0: src/bin/undionly.kpxe
+ cp -f $< $@