summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2008-01-08 16:51:36 +0100
committerMichael Brown2008-01-08 16:51:36 +0100
commit74fd544101c8f17f35dfc2cd16738ebd5228d366 (patch)
treeb813ee1138e4397ee557144739ede124f80c65a0 /src/Makefile.housekeeping
parentWhen the DHCP file/sname fields are empty, don't allow them to override (diff)
downloadipxe-74fd544101c8f17f35dfc2cd16738ebd5228d366.tar.gz
ipxe-74fd544101c8f17f35dfc2cd16738ebd5228d366.tar.xz
ipxe-74fd544101c8f17f35dfc2cd16738ebd5228d366.zip
Added the embedded pxelinux payload patch from hpa.
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 754c2930..d4ae8e31 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -214,6 +214,14 @@ drivers :
roms :
@$(ECHO) $(ROMS)
+# Embedded binary
+$(BIN)/embedimg.bin: $(EMBEDDED_IMAGE)
+ $(QM)$(ECHO) " [COPY] $@"
+ $(Q)$(CP) -f $(EMBEDDED_IMAGE) $@
+
+$(BIN)/embed.o: $(BIN)/embedimg.bin
+CFLAGS_embed = -DEMBEDIMG=\"$(BIN)/embedimg.bin\"
+
# Generate the NIC file from the parsed source files. The NIC file is
# only for rom-o-matic.
#