diff --git a/genprotimg/boot/Makefile b/genprotimg/boot/Makefile index 82b3a63b..c9ba5b38 100644 --- a/genprotimg/boot/Makefile +++ b/genprotimg/boot/Makefile @@ -72,6 +72,7 @@ stage3b_reloc.o: stage3b.bin stage3a.elf: head.o stage3a_init.o $(ZIPL_OBJS) stage3b.elf: head.o $(ZIPL_OBJS) +.SECONDARY: $(FILES:.bin=.lds) %.elf: %.lds %.o $(LINK) $(NO_PIE_LDFLAGS) $(NO_WARN_RWX_SEGMENTS_LDFLAGS) -Wl,-T,$< -Wl,--build-id=none -m64 -static -nostdlib $(filter %.o, $^) -o $@ @chmod a-x $@