kexec: Use target linker for purgatory
Subsystems (2)
PATCH 1/1 kexec: Use target linker for purgatory
From: Geoff Levand <[email protected]>
Pugatory files need to be linked with the target linker, not the build linker.
Signed-off-by Geoff Levand <[email protected]>
---
Hi,
This is a resend from last December. It fixes a cross compile build error. Please appy.
-Geoff
purgatory/Makefile +1 -1
@@ -42,7 +42,7 @@ $(PURGATORY): LDFLAGS+=--no-undefined -nostartfiles -nostdlib -nodefaultlibs \ $(PURGATORY): $(PURGATORY_OBJS) $(MKDIR) -p $(@D) - $(LD) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ # $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 3 lines · Geoff Levand
Pugatory files need to be linked with the target linker, not the build linker.
Thanks Geoff, applied.
Signature · 7 lines
Horms _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec