[patch] kexec: Use target linker for purgatory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello...

This needs to be merged.

On 12/20/2007 04:16 PM, Geoff Levand wrote:
> From: Geoff Levand <geoffrey.levand at am.sony.com>
> 
> Pugatory files need to be linked with the target linker,
> not the build linker.
> 
> Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
> ---
> diff --git a/purgatory/Makefile b/purgatory/Makefile
> index a543cdb..e7d2f15 100644
> --- a/purgatory/Makefile
> +++ b/purgatory/Makefile
> @@ -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)
>  
> 





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux