[patch] kexec: Use target linker for purgatory

Jeremy Kerr jk at ozlabs.org
Thu Dec 20 20:28:22 EST 2007


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?

Cheers,


Jeremy




More information about the kexec mailing list