Subject: [PATCH] ARM: zImage/virt: remove hyp-stub.S during distclean

From: [email-masked] (Dave Martin)
Date: Mon, 10 Jun 2013 12:26:58 +0100

On Mon, Jun 10, 2013 at 03:03:25PM +0900, Magnus Damm wrote:
> From: Magnus Damm <[email-masked]>
> 
> Make sure hyp-stub.S gets removed during make distclean,
> this left over file was introduced in commit:
> 
> 424e599 ARM: zImage/virt: hyp mode entry support for the zImage loader
> 
> Signed-off-by: Magnus Damm <[email-masked]>

Thanks for spotting this.  Your fix looks sensible to me.

Acked-by: Dave Martin <[email-masked]>

> ---
> 
>  arch/arm/boot/compressed/Makefile |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> --- 0001/arch/arm/boot/compressed/Makefile
> +++ work/arch/arm/boot/compressed/Makefile	2013-06-05 17:21:20.000000000 +0900
> @@ -116,7 +116,8 @@ targets       := vmlinux vmlinux.lds \
>  
>  # Make sure files are removed during clean
>  extra-y       += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern \
> -		 lib1funcs.S ashldi3.S $(libfdt) $(libfdt_hdrs)
> +		 lib1funcs.S ashldi3.S $(libfdt) $(libfdt_hdrs) \
> +		 hyp-stub.S
>  
>  ifeq ($(CONFIG_FUNCTION_TRACER),y)
>  ORIG_CFLAGS := $(KBUILD_CFLAGS)