From 94d0e102ccb4c7bdf63eff16391b14fc547e4780 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 27 Jun 2008 15:03:13 -0700 Subject: [PATCH] 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. --- gpxe/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gpxe/Makefile b/gpxe/Makefile index 01d0de9..7568ea0 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 $< $@ -- 2.7.4