Forgot to CC people on this one.

On Fri, Feb 03, 2017 at 11:53:03AM +0000, Wei Liu wrote:
> f4497d6b74 added x86_emulate.h private header but didn't add dependency
> for it.
> 
> Use macro to reduce repetition.
> 
> Signed-off-by: Wei Liu <wei.l...@citrix.com>
> ---
>  tools/tests/x86_emulator/Makefile | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/tests/x86_emulator/Makefile 
> b/tools/tests/x86_emulator/Makefile
> index 0b5baff67c..b489959d1d 100644
> --- a/tools/tests/x86_emulator/Makefile
> +++ b/tools/tests/x86_emulator/Makefile
> @@ -45,8 +45,10 @@ x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h:
>  
>  HOSTCFLAGS += $(CFLAGS_xeninclude)
>  
> -x86_emulate.o: x86_emulate.c x86_emulate/x86_emulate.c 
> x86_emulate/x86_emulate.h
> +x86_emulate.h := x86_emulate.h x86_emulate/x86_emulate.h
> +
> +x86_emulate.o: x86_emulate.c x86_emulate/x86_emulate.c $(x86_emulate.h)
>       $(HOSTCC) $(HOSTCFLAGS) -D__XEN_TOOLS__ -c -g -o $@ $<
>  
> -test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate/x86_emulate.h
> +test_x86_emulator.o: test_x86_emulator.c blowfish.h $(x86_emulate.h)
>       $(HOSTCC) $(HOSTCFLAGS) -c -g -o $@ $<
> -- 
> 2.11.0
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to