http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
[people/xl0/gpxe.git]
/
src
/
Makefile.housekeeping
diff --git
a/src/Makefile.housekeeping
b/src/Makefile.housekeeping
index
5384229
..
6db4cea
100644
(file)
--- a/
src/Makefile.housekeeping
+++ b/
src/Makefile.housekeeping
@@
-401,6
+401,15
@@
allpxes allisos alldsks : all%s : $(foreach DRIVER,$(DRIVERS),$(BIN)/$(DRIVER).%
$(BIN)/etherboot.% : $(BIN)/gpxe.%
ln -sf $(notdir $<) $@
$(BIN)/etherboot.% : $(BIN)/gpxe.%
ln -sf $(notdir $<) $@
+# Wrap up binary blobs
+#
+$(BIN)/%.o : payload/%.img
+ $(QM)echo " [WRAP] $@"
+ $(Q)$(LD) -b binary -r -o $@ $< --undefined obj_payload \
+ --defsym obj_$*=0
+
+BOBJS += $(patsubst payload/%.img,$(BIN)/%.o,$(wildcard payload/*.img))
+
# The compression utilities
#
$(NRV2B) : util/nrv2b.c $(MAKEDEPS)
# The compression utilities
#
$(NRV2B) : util/nrv2b.c $(MAKEDEPS)