|
@@ -409,6 +409,15 @@ allpxes allisos alldsks : all%s : $(foreach DRIVER,$(DRIVERS),$(BIN)/$(DRIVER).%
|
409
|
409
|
$(BIN)/etherboot.% : $(BIN)/gpxe.%
|
410
|
410
|
ln -sf $(notdir $<) $@
|
411
|
411
|
|
|
412
|
+# Wrap up binary blobs
|
|
413
|
+#
|
|
414
|
+$(BIN)/%.o : payload/%.img
|
|
415
|
+ $(QM)echo " [WRAP] $@"
|
|
416
|
+ $(Q)$(LD) -b binary -r -o $@ $< --undefined obj_payload \
|
|
417
|
+ --defsym obj_$*=0
|
|
418
|
+
|
|
419
|
+BOBJS += $(patsubst payload/%.img,$(BIN)/%.o,$(wildcard payload/*.img))
|
|
420
|
+
|
412
|
421
|
# The compression utilities
|
413
|
422
|
#
|
414
|
423
|
$(NRV2B) : util/nrv2b.c $(MAKEDEPS)
|