1 ## -----------------------------------------------------------------------
3 ## Copyright 2008-2009 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2009-2011 Intel Corporation; author: H. Peter Anvin
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
9 ## Boston MA 02110-1301, USA; either version 2 of the License, or
10 ## (at your option) any later version; incorporated herein by reference.
12 ## -----------------------------------------------------------------------
15 # Makefile for gpxe/gpxelinux.0
17 # Very simple, really...
21 TARGETS
= gpxelinux
.0 gpxelinuxk
.0
23 PXEMAKE
= $(MAKE
) -C
$(SRC
)/src NO_WERROR
=1
32 $(MAKE
) -C
$(SRC
)/src veryclean
> /dev
/null
2>&1
35 #Including 'dist' errors out for make ARCH=x86_64 spotless
46 src
/bin
/undionly.kkpxe
: src
/bin
/blib.a pxelinux.gpxe
$(objdir
)/core
/pxelinux
.0
47 $(PXEMAKE
) bin
/undionly.kkpxe EMBEDDED_IMAGE
=$(SRC
)/pxelinux.gpxe
,$(objdir
)/core
/pxelinux
.0
49 gpxelinux
.0: src
/bin
/undionly.kkpxe
52 src
/bin
/undionly.kpxe
: src
/bin
/blib.a pxelinuxk.gpxe
$(objdir
)/core
/pxelinux
.0
53 $(PXEMAKE
) bin
/undionly.kpxe EMBEDDED_IMAGE
=$(SRC
)/pxelinuxk.gpxe
,$(objdir
)/core
/pxelinux
.0
55 gpxelinuxk
.0: src
/bin
/undionly.kpxe