[patch] kexec: Use target linker for purgatory
Geoff Levand
geoffrey.levand at am.sony.com
Thu Dec 20 20:43:34 EST 2007
On 12/20/2007 05:28 PM, Jeremy Kerr wrote:
> Geoff,
>
>> Pugatory files need to be linked with the target linker,
>> not the build linker.
>>
>> $(MKDIR) -p $(@D)
>> - $(LD) $(LDFLAGS) -o $@ $^
>> + $(CC) $(LDFLAGS) -o $@ $^
>
> Shouldn't that be $(TARGET_CC) then?
It follows the convention in that makefile. There is this:
$(PURGATORY): CC=$(TARGET_CC)
-Geoff
More information about the kexec
mailing list