From: Michael Tremer Date: Mon, 27 Dec 2010 22:46:57 +0000 (+0100) Subject: Make some more options for makefile and generate a tftp-loadable image. X-Git-Tag: v1.0~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c2c5968eb11a13d60826287bccacbeff9943bbc;p=oddments%2Fipfire-netboot.git Make some more options for makefile and generate a tftp-loadable image. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba077a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin diff --git a/Makefile b/Makefile index db35636..05540dc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,15 @@ SCRIPTS = $(CURDIR)/ipfireboot.gpxe -all: - make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) +TARGETS = bin/gpxe.iso bin/gpxe.kpxe + +all: $(TARGETS) + +clean: + rm -rfv $(TARGETS) + make -C gpxe/src clean + +$(TARGETS): + make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@ + -mkdir -pv $$(dirname $@) + cp -vf gpxe/src/$@ $@